X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fvideo%2Fvideo-miniature.component.scss;h=03e15afffe23c5085e9c4e74dff68fd3534d7b49;hb=8c559fad1e1c4c2ab7f1388c73200aa4c6256d74;hp=d665ce021ccb45b7536207990e3ff0203e1c7c95;hpb=743f023c5361af1428e927171effb2616d4e0245;p=oweals%2Fpeertube.git diff --git a/client/src/app/shared/video/video-miniature.component.scss b/client/src/app/shared/video/video-miniature.component.scss index d665ce021..03e15afff 100644 --- a/client/src/app/shared/video/video-miniature.component.scss +++ b/client/src/app/shared/video/video-miniature.component.scss @@ -9,7 +9,7 @@ $more-margin-right: 10px; width: $video-miniature-width; display: inline-flex; flex-direction: column; - margin-bottom: 30px; + margin-bottom: $video-miniature-margin-bottom; height: 195px; vertical-align: top; @@ -68,16 +68,16 @@ $more-margin-right: 10px; width: $more-button-width; height: 30px; - /deep/ .dropdown-root:not(.show) { + ::ng-deep .dropdown-root:not(.show) { opacity: 0; } - /deep/ .playlist-dropdown.show + my-action-dropdown .dropdown-root { + ::ng-deep .playlist-dropdown.show + my-action-dropdown .dropdown-root { opacity: 1; } } - &:hover .video-actions /deep/ .dropdown-root { + &:hover .video-actions ::ng-deep .dropdown-root { opacity: 1; } @@ -90,7 +90,7 @@ $more-margin-right: 10px; margin: 0; top: -3px; - /deep/ .dropdown-root { + ::ng-deep .dropdown-root { opacity: 1 !important; } } @@ -109,8 +109,10 @@ $more-margin-right: 10px; .video-bottom { .video-miniature-information { - width: auto; - min-width: 500px; + @media screen and (min-width: $small-view) { + width: auto; + min-width: 500px; + } .video-miniature-name { @include ellipsis-multiline(1.3em, 2);