Browse Source

Prevent account name from overflowing the sidebar

4the4ryushin 2 years ago
parent
commit
e10dc142de
1 changed files with 6 additions and 0 deletions
  1. 6 0
      client/src/components/Sidebar/modules/MainMenu.scss

+ 6 - 0
client/src/components/Sidebar/modules/MainMenu.scss

@@ -71,6 +71,12 @@
 
     &-toggle {
       @apply w-pl-2 w-inline-flex w-justify-between w-w-full w-translate-x-0 w-transition w-duration-150;
+
+      min-width: 0;
+
+      .icon {
+        flex-shrink: 0;
+      }
     }
 
     &-label {