X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fapp.component.scss;h=a7be8e1afa6af7ca9239e148fb6cce4f839282c9;hb=2ad9dcda240ee843c5e4a5b98cc94f7b2aab2c89;hp=881f3ff318fa4f3e8ab94930ec313f3adf7fe3bb;hpb=88108880bbdba473cfe36ecbebc1c3c4f972e102;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/app.component.scss b/client/src/app/app.component.scss index 881f3ff31..a7be8e1af 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: z(headerLeft); 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; } }