From db4df4481b969de7af256d25157e6662571f2043 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Thu, 10 Nov 2016 23:21:24 +0100 Subject: [PATCH] Fix modals sizing and add animation to it, fix #140 by only making the text of status clickable (this also fixes multiple dropdown being openable at the same time) --- .../components/column_back_button.jsx | 2 +- .../components/components/dropdown_menu.jsx | 2 +- .../components/components/lightbox.jsx | 54 +++++++++++-------- .../components/components/status.jsx | 6 +-- .../components/status_action_bar.jsx | 2 +- .../components/components/status_content.jsx | 5 +- .../features/account/components/header.jsx | 2 +- .../features/status/components/action_bar.jsx | 10 ++-- .../ui/containers/modal_container.jsx | 5 +- app/assets/stylesheets/components.scss | 6 +++ package.json | 1 + yarn.lock | 17 ++++++ 12 files changed, 72 insertions(+), 40 deletions(-) diff --git a/app/assets/javascripts/components/components/column_back_button.jsx b/app/assets/javascripts/components/components/column_back_button.jsx index 755378ad82..c3ed8f8d09 100644 --- a/app/assets/javascripts/components/components/column_back_button.jsx +++ b/app/assets/javascripts/components/components/column_back_button.jsx @@ -28,7 +28,7 @@ const ColumnBackButton = React.createClass({ render () { return ( -
+
Back
diff --git a/app/assets/javascripts/components/components/dropdown_menu.jsx b/app/assets/javascripts/components/components/dropdown_menu.jsx index f58a36d296..450550d55a 100644 --- a/app/assets/javascripts/components/components/dropdown_menu.jsx +++ b/app/assets/javascripts/components/components/dropdown_menu.jsx @@ -7,7 +7,7 @@ const DropdownMenu = ({ icon, items, size }) => { - +