X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fmenu%2Fmenu.component.scss;h=2963d4d1918333392987317295fdde9ab6fc1750;hb=eb7c7a517902eae425b05d1ca9cb7f99f76ee71f;hp=2f23fa5f8546540c092f85c95838eac5d445b4b6;hpb=97567dd81f508dd6295ac4d73d849aa2ce0a6549;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/menu/menu.component.scss b/client/src/app/menu/menu.component.scss index 2f23fa5f8..2963d4d19 100644 --- a/client/src/app/menu/menu.component.scss +++ b/client/src/app/menu/menu.component.scss @@ -16,7 +16,7 @@ menu { margin: 0; padding: 0; height: 100%; - overflow: auto; + overflow-x: hidden; color: var(--menuForegroundColor); display: flex; flex-direction: column; @@ -53,9 +53,6 @@ menu { @include ellipsis; flex-grow: 1; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; .logged-in-display-name { font-size: 16px; @@ -72,28 +69,29 @@ menu { font-size: 13px; color: #C6C6C6; max-width: 140px; + cursor: pointer; } } .logged-in-more { margin-right: 20px; - my-global-icon { - @include apply-svg-color(var(--mainBackgroundColor)); - + my-global-icon.dropdown-toggle { cursor: pointer; &::after { border: none; } + + ::ng-deep { + @include apply-svg-color(var(--menuForegroundColor)); + } } .dropdown-item { @include dropdown-with-icon-item; my-global-icon { - @include apply-svg-color(var(--mainForegroundColor)); - width: 22px; height: 22px; @@ -147,15 +145,19 @@ menu { margin-bottom: 45px; a { + @include disable-default-a-behaviour; + display: flex; align-items: center; padding-left: $menu-lateral-padding; color: var(--menuForegroundColor); cursor: pointer; - height: 40px; + min-height: 40px; font-size: 16px; transition: background-color .1s ease-in-out; - @include disable-default-a-behaviour; + white-space: normal; + word-break: break-word; + padding-right: 20px; &.active { background-color: rgba(255, 255, 255, 0.15);