diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-06-19 15:41:17 +0200 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2020-02-22 01:37:07 -0600 |
commit | fbbbc9b81ae6ff8ca97185abcb36e93a323e65d8 (patch) | |
tree | 65a09e08abb09adc6d1ba4782512eb6f8711d9b7 /app/javascript/flavours/glitch/styles | |
parent | 4010b34df4b67d669d6fff2c717ff23cc9b82d92 (diff) |
port glitch-soc@`38d2882` to monsterfork: Fix NavigationBar styling
Diffstat (limited to 'app/javascript/flavours/glitch/styles')
-rw-r--r-- | app/javascript/flavours/glitch/styles/components/drawer.scss | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/app/javascript/flavours/glitch/styles/components/drawer.scss b/app/javascript/flavours/glitch/styles/components/drawer.scss index 3752365d7..602489abb 100644 --- a/app/javascript/flavours/glitch/styles/components/drawer.scss +++ b/app/javascript/flavours/glitch/styles/components/drawer.scss @@ -163,18 +163,15 @@ .drawer--account { padding: 10px; color: $darker-text-color; + display: flex; + align-items: center; - & > a { + a { color: inherit; text-decoration: none; } - & > .avatar { - float: left; - margin-right: 10px; - } - - & > .acct { + .acct { display: block; color: $secondary-text-color; font-weight: 500; @@ -184,6 +181,12 @@ } } +.navigation-bar__profile { + flex: 1 1 auto; + margin-left: 8px; + overflow: hidden; +} + .drawer--results { background: $ui-base-color; overflow-x: hidden; |