From 841d2c9f230c4d42658964137256efdcd68af672 Mon Sep 17 00:00:00 2001 From: ThibG Date: Tue, 26 Mar 2019 23:05:21 +0100 Subject: [PATCH] [Glitch] Move the account dropdown menubar to the right, make sure it doesn't move Port a91acf79b53307ada584f449da1369c0216a24d1 to glitch-soc --- .../flavours/glitch/features/account/components/header.js | 4 ++-- .../flavours/glitch/styles/components/accounts.scss | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/app/javascript/flavours/glitch/features/account/components/header.js b/app/javascript/flavours/glitch/features/account/components/header.js index fa36e70b59..4acaef26be 100644 --- a/app/javascript/flavours/glitch/features/account/components/header.js +++ b/app/javascript/flavours/glitch/features/account/components/header.js @@ -212,9 +212,9 @@ class Header extends ImmutablePureComponent {
- - {actionBtn} + +
diff --git a/app/javascript/flavours/glitch/styles/components/accounts.scss b/app/javascript/flavours/glitch/styles/components/accounts.scss index be82bdab3d..1039a746b7 100644 --- a/app/javascript/flavours/glitch/styles/components/accounts.scss +++ b/app/javascript/flavours/glitch/styles/components/accounts.scss @@ -557,7 +557,7 @@ .avatar { display: block; flex: 0 0 auto; - width: 90px; + width: 94px; margin-left: -2px; .account__avatar { @@ -576,12 +576,16 @@ 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; } }