X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fapp.component.scss;h=51a7a3dd1df1dddbb02fbc72407b2e3ae18aab65;hb=240458d0c95133bfb03a3f695a1b4e5cb63e20ef;hp=881f3ff318fa4f3e8ab94930ec313f3adf7fe3bb;hpb=6e7e63b83f08ba68edc2bb9f72ff03d1802e45df;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/app.component.scss b/client/src/app/app.component.scss index 881f3ff31..51a7a3dd1 100644 --- a/client/src/app/app.component.scss +++ b/client/src/app/app.component.scss @@ -25,7 +25,6 @@ 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%; } @@ -65,7 +64,7 @@ @media screen and (max-width: 500px) { width: 70px; - #peertube-title { + .peertube-title { display: none; } } @@ -81,6 +80,7 @@ align-items: center; justify-content: flex-end; white-space: nowrap; + flex: 1; } }