X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Bvideo-channels%2Fvideo-channels.component.scss;h=b19b4c81b14664c2882694e90260953622aad199;hb=02dd4f3c65536699cec47c7d4054889fd81b5cd4;hp=ec8f67a7e8a9b8ed8b6df4c3334c8158fa3f51ab;hpb=100d9ce23bb7c5186132607e4c444f9cba5002a4;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+video-channels/video-channels.component.scss b/client/src/app/+video-channels/video-channels.component.scss index ec8f67a7e..b19b4c81b 100644 --- a/client/src/app/+video-channels/video-channels.component.scss +++ b/client/src/app/+video-channels/video-channels.component.scss @@ -11,16 +11,30 @@ --myGreyOwnerFontSize: 14px; } +.banner { + @include block-ratio('img', $banner-inverted-ratio); +} + .section-label { @include section-label-responsive; } .links { - @include fluid-videos-miniature-margins; + @include grid-videos-miniature-margins; +} + +.actor-info { + min-width: 1px; + width: 100%; + + > h4, + > .actor-handle { + @include ellipsis; + } } .channel-info { - @include fluid-videos-miniature-margins(false, 15px); + @include grid-videos-miniature-margins(false, 15px); display: grid; grid-template-columns: 1fr auto; @@ -42,6 +56,7 @@ .channel-description { grid-column: 1; + word-break: break-word; } .show-more { @@ -108,6 +123,10 @@ h4 { font-size: 18px; margin: 0; + + a { + color: pvar(--mainForegroundColor); + } } .actor-handle { @@ -117,7 +136,8 @@ } .owner-description { - height: 140px; + max-height: 140px; + word-break: break-word; @include fade-text(120px, pvar(--mainBackgroundColor)); } @@ -217,7 +237,8 @@ } .view-account.complete { - display: inline-block; + display: block; + text-align: right; margin-top: 10px; color: pvar(--mainColor); }