X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fvideo%2Fabstract-video-list.scss;h=7f23098aa4ef536147c25bb2855d2e548e5311bc;hb=cf78883c70dca99fc519374d55620d9403d482be;hp=2aab40ea8a5189a8ae4ada3f06333045c96808e8;hpb=e66883b37ae0796256b3aba550670a2d76cfc98a;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/shared/video/abstract-video-list.scss b/client/src/app/shared/video/abstract-video-list.scss index 2aab40ea8..7f23098aa 100644 --- a/client/src/app/shared/video/abstract-video-list.scss +++ b/client/src/app/shared/video/abstract-video-list.scss @@ -3,22 +3,6 @@ @import '_mixins'; @import '_miniature'; -.videos { - display: grid; - column-gap: calc(10px + .2%); - grid-template-columns: repeat( - auto-fill, - minmax( - var(--miniature-min-width, #{$video-thumbnail-width}), - 1fr - ) - ); - - @media screen and (min-width: #{breakpoint(xxl)}) { - --miniature-min-width: 300px; - } -} - .videos-header { display: flex; justify-content: space-between; @@ -61,18 +45,19 @@ font-weight: $font-semibold; margin-bottom: 20px; margin-top: -10px; - padding-top: 20px; // make the element span a full grid row within .videos grid grid-column: 1 / -1; &:not(:first-child) { + margin-top: .5rem; + padding-top: 20px; border-top: 1px solid $separator-border-color; } } -:host-context(.main-col:not(.expanded)) .margin-content { - @include adapt-margin-content-width($fluid: true); +.margin-content { + @include fluid-videos-miniature-layout; } @media screen and (max-width: $mobile-view) { @@ -80,6 +65,7 @@ flex-direction: column; align-items: center; height: auto; + margin-bottom: 10px; .title-page { margin-bottom: 10px;