From 88b7ccc2cae1bec5104459b881cfa49969753498 Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Mon, 30 Jul 2018 13:21:48 +0200 Subject: [Glitch] Improve WebUI account action bar Mostly a port of 2ccef52a4f5be49e5c3b2256a3c5d4f193a3fe32 to glitch-soc --- .../flavours/glitch/features/account/components/action_bar.js | 6 +++--- app/javascript/flavours/glitch/styles/components/accounts.scss | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'app') diff --git a/app/javascript/flavours/glitch/features/account/components/action_bar.js b/app/javascript/flavours/glitch/features/account/components/action_bar.js index 8b95c08f2..4a4d31f29 100644 --- a/app/javascript/flavours/glitch/features/account/components/action_bar.js +++ b/app/javascript/flavours/glitch/features/account/components/action_bar.js @@ -125,17 +125,17 @@ export default class ActionBar extends React.PureComponent {
- + - + - +
diff --git a/app/javascript/flavours/glitch/styles/components/accounts.scss b/app/javascript/flavours/glitch/styles/components/accounts.scss index dadfa6d57..b2b6248ff 100644 --- a/app/javascript/flavours/glitch/styles/components/accounts.scss +++ b/app/javascript/flavours/glitch/styles/components/accounts.scss @@ -209,7 +209,6 @@ } .account__action-bar-dropdown { - flex: 0 1 calc(50% - 140px); padding: 10px; .dropdown--active { @@ -231,14 +230,15 @@ display: flex; flex: 1 1 auto; line-height: 18px; + text-align: center; } .account__action-bar__tab { text-decoration: none; overflow: hidden; - flex: 0 1 80px; + flex: 0 1 100%; border-left: 1px solid lighten($ui-base-color, 8%); - padding: 10px 5px; + padding: 10px 0; & > span { display: block; -- cgit