about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/styles/components/drawer.scss
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-06-19 15:41:17 +0200
committerThibG <thib@sitedethib.com>2019-06-20 19:19:46 +0200
commit38d28824475056766c97385b66f4e04a5123e3a2 (patch)
tree7b9e73507ca7e9efce766cd63089ba395871aa73 /app/javascript/flavours/glitch/styles/components/drawer.scss
parentbb9459774d17d88fdd975c251481051041e28a56 (diff)
Fix NavigationBar styling
Diffstat (limited to 'app/javascript/flavours/glitch/styles/components/drawer.scss')
-rw-r--r--app/javascript/flavours/glitch/styles/components/drawer.scss17
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 f054ddbc0..0e50482f6 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;