From 82fd74d101838396fc6462d15106624294b78868 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 | 56 +++++++++++-------- .../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, 73 insertions(+), 41 deletions(-) diff --git a/app/assets/javascripts/components/components/column_back_button.jsx b/app/assets/javascripts/components/components/column_back_button.jsx index 755378ad825..c3ed8f8d09b 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 f58a36d296e..450550d55ac 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 }) => { - +