X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fmenu%2Fmenu.component.scss;h=137df6fc1a92d45aaf9b3bc5530f7aa2d9e9ae07;hb=ef80c66cea945d315336251dbb5efcb06c64189d;hp=24b1a4db3a78f2829d1f1907b2b3ffb2d6236576;hpb=fdebd9a3bdcc3ea3881f2234a0f214c2588de3e4;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/menu/menu.component.scss b/client/src/app/menu/menu.component.scss index 24b1a4db3..137df6fc1 100644 --- a/client/src/app/menu/menu.component.scss +++ b/client/src/app/menu/menu.component.scss @@ -10,13 +10,13 @@ } menu { + @include ellipsis; + background-color: var(--menuBackgroundColor); margin: 0; padding: 0; height: 100%; - white-space: nowrap; - text-overflow: ellipsis; - overflow: hidden; + overflow: auto; color: var(--menuForegroundColor); display: flex; flex-direction: column; @@ -40,9 +40,11 @@ menu { margin-bottom: 35px; .logged-in-info { + @include ellipsis; + flex-grow: 1; - .logged-in-username { + .logged-in-display-name { font-size: 16px; font-weight: $font-semibold; color: var(--menuForegroundColor); @@ -51,12 +53,11 @@ menu { @include disable-default-a-behaviour; } - .logged-in-email { + .logged-in-username { + @include ellipsis; + font-size: 13px; color: #C6C6C6; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; max-width: 140px; } }