X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Bvideos%2F%2Bvideo-watch%2Frecommendations%2Frecommended-videos.component.scss;h=c9fae6f270140fae89d2a3a5c92822d74163ac72;hb=0f7407d926cf7774f8f730dba08327569c11680c;hp=b278c9654ef532d481770a53fa53928c6e4268a2;hpb=33253c1aa6b82284ddd0a9cb516ad85e276ca3a3;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+videos/+video-watch/recommendations/recommended-videos.component.scss b/client/src/app/+videos/+video-watch/recommendations/recommended-videos.component.scss index b278c9654..c9fae6f27 100644 --- a/client/src/app/+videos/+video-watch/recommendations/recommended-videos.component.scss +++ b/client/src/app/+videos/+video-watch/recommendations/recommended-videos.component.scss @@ -1,3 +1,6 @@ +@import '_variables'; +@import '_mixins'; + .title-page-container { display: flex; justify-content: space-between; @@ -11,6 +14,10 @@ } } +.title-page { + margin-top: 0; +} + .title-page-autoplay { display: flex; width: max-content; @@ -29,3 +36,29 @@ hr { margin-top: 0; } + +my-video-miniature { + display: block; +} + +.other-videos:not(.display-as-row) my-video-miniature { + min-width: $video-thumbnail-medium-width; + max-width: $video-thumbnail-medium-width; +} + +.display-as-row { + my-video-miniature { + margin-bottom: 20px; + } + + hr { + display: none; + } + + @media screen and (max-width: $mobile-view) { + my-video-miniature { + margin-bottom: 10px; + } + } +} +