X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fsearch%2Fsearch.component.scss;h=4e3ce1c964dda45e2ca9335858e8dd730d615a0c;hb=e2409062dedf8856c56ef1bdc98ca623e21c4f3b;hp=e0509ee15807440da5f4ce56d07d1852f6994290;hpb=8fc02e476869276d35759d19248ddfe7f84ec09c;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/search/search.component.scss b/client/src/app/search/search.component.scss index e0509ee15..4e3ce1c96 100644 --- a/client/src/app/search/search.component.scss +++ b/client/src/app/search/search.component.scss @@ -55,51 +55,14 @@ padding-bottom: 20px; margin-bottom: 20px; - &.video { - - my-video-thumbnail { - margin-right: 10px; - } - - .video-info { - flex-grow: 1; - - .video-info-name { - @include disable-default-a-behaviour; - - color: var(--mainForegroundColor); - display: block; - width: fit-content; - font-size: 18px; - font-weight: $font-semibold; - } - - .video-info-date-views { - font-size: 14px; - } - - .video-info-account { - @include disable-default-a-behaviour; - @include ellipsis; - - display: block; - width: fit-content; - font-size: 14px; - color: $grey-foreground-color; - - &:hover { - color: $grey-foreground-hover-color; - } - } - } - } - &.video-channel { - img { - @include avatar(120px); + $image-size: 130px; + $margin-size: ($video-thumbnail-width - $image-size) / 2; // So we have the same width than the video miniature + + @include avatar($image-size); - margin: 0 50px 0 40px; + margin: 0 ($margin-size + 10) 0 $margin-size; } .video-channel-info {