X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fmenu%2Fmenu.component.scss;h=cb5f907232f04ccb1155574d3f4395fc8ee647e5;hb=52cc0d54850e0acf069d2f95d063826f16ff5238;hp=76e73155ca4590e0f02a68ff92732babf260d601;hpb=03652b3179b7d3d2959b68318fdc5e00f94eb95f;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/menu/menu.component.scss b/client/src/app/menu/menu.component.scss index 76e73155c..cb5f90723 100644 --- a/client/src/app/menu/menu.component.scss +++ b/client/src/app/menu/menu.component.scss @@ -6,7 +6,8 @@ height: calc(100vh - #{$header-height}); padding: 0; width: $menu-width; - z-index: 10000; + z-index: z(menu); + scrollbar-color: var(--actionButtonColor) var(--menuBackgroundColor); } menu { @@ -16,7 +17,7 @@ menu { margin: 0; padding: 0; height: 100%; - overflow: auto; + overflow-x: hidden; color: var(--menuForegroundColor); display: flex; flex-direction: column; @@ -69,6 +70,7 @@ menu { font-size: 13px; color: #C6C6C6; max-width: 140px; + cursor: pointer; } } @@ -144,15 +146,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);