From 71b266377c44ffb23a4e6ea871cfc2d656a8e32b Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Thu, 25 May 2017 05:15:12 -0700 Subject: [PATCH] Remove unnecessary action bar wrapper divs (#3299) --- app/javascript/mastodon/components/status_action_bar.js | 6 +++--- app/javascript/styles/components.scss | 2 +- app/javascript/styles/rtl.scss | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/javascript/mastodon/components/status_action_bar.js b/app/javascript/mastodon/components/status_action_bar.js index 1f9fa4c67d..5457dabac8 100644 --- a/app/javascript/mastodon/components/status_action_bar.js +++ b/app/javascript/mastodon/components/status_action_bar.js @@ -128,9 +128,9 @@ class StatusActionBar extends React.PureComponent { return (
-
-
-
+ + +
diff --git a/app/javascript/styles/components.scss b/app/javascript/styles/components.scss index 38fbda5a94..64a7008522 100644 --- a/app/javascript/styles/components.scss +++ b/app/javascript/styles/components.scss @@ -676,7 +676,7 @@ margin-top: 10px; } -.status__action-bar-button-wrapper { +.status__action-bar-button { float: left; margin-right: 18px; } diff --git a/app/javascript/styles/rtl.scss b/app/javascript/styles/rtl.scss index 43463bc7df..16a1c9c054 100644 --- a/app/javascript/styles/rtl.scss +++ b/app/javascript/styles/rtl.scss @@ -66,7 +66,7 @@ body.rtl { float: left; } - .status__action-bar-button-wrapper { + .status__action-bar-button { float: right; margin-right: 0; margin-left: 18px;