diff options
author | Chocobozzz <me@florianbigard.com> | 2019-04-05 17:00:09 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-04-05 17:00:09 +0200 |
commit | 0f4905e120e66c5227ca3c57074e3e8554424621 (patch) | |
tree | eb62cf1f23386a66700545d79ef3ee296b407267 /client/src/app/videos | |
parent | 32157c0892ed000d15ad8fbc89e90fd005a5f4e8 (diff) | |
download | PeerTube-0f4905e120e66c5227ca3c57074e3e8554424621.tar.gz PeerTube-0f4905e120e66c5227ca3c57074e3e8554424621.tar.zst PeerTube-0f4905e120e66c5227ca3c57074e3e8554424621.zip |
2 rows per overview section
Diffstat (limited to 'client/src/app/videos')
-rw-r--r-- | client/src/app/videos/video-list/video-overview.component.scss | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/client/src/app/videos/video-list/video-overview.component.scss b/client/src/app/videos/video-list/video-overview.component.scss index 42b542233..a24766783 100644 --- a/client/src/app/videos/video-list/video-overview.component.scss +++ b/client/src/app/videos/video-list/video-overview.component.scss | |||
@@ -3,6 +3,8 @@ | |||
3 | @import '_miniature'; | 3 | @import '_miniature'; |
4 | 4 | ||
5 | .section { | 5 | .section { |
6 | max-height: 500px; // 2 rows max | ||
7 | overflow: hidden; | ||
6 | padding-top: 10px; | 8 | padding-top: 10px; |
7 | 9 | ||
8 | &:first-child { | 10 | &:first-child { |
@@ -44,11 +46,18 @@ | |||
44 | } | 46 | } |
45 | 47 | ||
46 | @media screen and (max-width: 500px) { | 48 | @media screen and (max-width: 500px) { |
49 | .margin-content { | ||
50 | margin: 0 !important; | ||
51 | } | ||
52 | |||
47 | .section-title { | 53 | .section-title { |
48 | font-size: 17px; | 54 | font-size: 17px; |
49 | } | 55 | } |
50 | 56 | ||
51 | .section { | 57 | .section { |
58 | max-height: initial; | ||
59 | overflow: initial; | ||
60 | |||
52 | @include video-miniature-small-screen; | 61 | @include video-miniature-small-screen; |
53 | } | 62 | } |
54 | } | 63 | } |