From a91acf79b53307ada584f449da1369c0216a24d1 Mon Sep 17 00:00:00 2001 From: ThibG Date: Tue, 26 Mar 2019 23:05:21 +0100 Subject: Move the account dropdown menubar to the right, make sure it doesn't move (#10390) * Move the account dropdown menubar to the right, make sure it doesn't move * Fix margin --- app/javascript/mastodon/features/account/components/header.js | 4 ++-- app/javascript/styles/mastodon/components.scss | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'app') diff --git a/app/javascript/mastodon/features/account/components/header.js b/app/javascript/mastodon/features/account/components/header.js index fd7ad5e07..0a3345f0e 100644 --- a/app/javascript/mastodon/features/account/components/header.js +++ b/app/javascript/mastodon/features/account/components/header.js @@ -219,9 +219,9 @@ class Header extends ImmutablePureComponent {
- - {actionBtn} + +
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index 3feb62331..f63c66d46 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -5300,7 +5300,7 @@ noscript { .avatar { display: block; flex: 0 0 auto; - width: 90px; + width: 94px; margin-left: -2px; .account__avatar { @@ -5319,12 +5319,16 @@ noscript { display: flex; align-items: center; padding-top: 55px; + overflow: hidden; .icon-button { border: 1px solid lighten($ui-base-color, 12%); border-radius: 4px; box-sizing: content-box; padding: 2px; + } + + .button { margin: 0 8px; } } -- cgit