X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Bsearch%2Fsearch.component.scss;h=11d95df6ac0424e0314bce0ab0186d2ed7f3e053;hb=42b40636991b97fe818007fab19091764fc5db73;hp=2a19e369a2cd3cd6d8c7d99292353358ea50afca;hpb=27bc95867442c772841fb183a625bbda61dede51;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+search/search.component.scss b/client/src/app/+search/search.component.scss index 2a19e369a..11d95df6a 100644 --- a/client/src/app/+search/search.component.scss +++ b/client/src/app/+search/search.component.scss @@ -1,9 +1,10 @@ -@import '_variables'; -@import '_mixins'; +@use 'sass:math'; +@use '_variables' as *; +@use '_mixins' as *; @mixin build-channel-img-size ($video-img-width) { $image-size: min(130px, $video-img-width); - $margin-size: ($video-img-width - $image-size) / 2; // So we have the same width than the video miniature + $margin-size: math.div(($video-img-width - $image-size), 2); // So we have the same width than the video miniature @include actor-avatar-size($image-size); @@ -14,8 +15,11 @@ padding: 40px; } +.alert-danger { + margin-top: 10px; +} + .results-header { - font-size: 16px; padding-bottom: 20px; margin-bottom: 30px; border-bottom: 1px solid #DADADA; @@ -53,10 +57,6 @@ max-width: 800px; } -.video-channel my-actor-avatar { - @include build-channel-img-size($video-thumbnail-width); -} - .video-channel-info { flex-grow: 1; margin: 0 10px;