X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fapp.component.scss;h=d9dace16bd34da8a828d1adaef37b4c87421d135;hb=482fa503e545e00252e25eee7b3e0f7d421cf9d4;hp=881f3ff318fa4f3e8ab94930ec313f3adf7fe3bb;hpb=73471b1a52f242e86364ffb077ea6cadb3b07ae2;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/app.component.scss b/client/src/app/app.component.scss index 881f3ff31..d9dace16b 100644 --- a/client/src/app/app.component.scss +++ b/client/src/app/app.component.scss @@ -16,16 +16,15 @@ top: 0; width: 100%; background-color: var(--mainBackgroundColor); - z-index: 1000; + z-index: z(header); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16); display: flex; .top-left-block { - z-index: 1001; + z-index: 1; height: $header-height; display: flex; align-items: center; - flex: 1; min-width: 0; .icon { @@ -38,8 +37,9 @@ } } - #peertube-title { + .peertube-title { @include disable-default-a-behaviour; + font-size: 20px; font-weight: $font-bold; color: inherit !important; @@ -48,9 +48,8 @@ overflow: hidden; .instance-name { - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; + @include ellipsis; + width: 100%; } @@ -62,10 +61,10 @@ } } - @media screen and (max-width: 500px) { + @media screen and (max-width: $mobile-view) { width: 70px; - #peertube-title { + .peertube-title { display: none; } } @@ -81,6 +80,7 @@ align-items: center; justify-content: flex-end; white-space: nowrap; + flex: 1; } }