diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-05-01 23:24:05 +0200 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2020-05-01 23:24:05 +0200 |
commit | c2a89b70ce75c4955cbdb1ced6fd20a5010a8c9b (patch) | |
tree | 9b835f17d1da4a7a4d066b8e48fc476c732759a8 /client/src/sass/include | |
parent | d392608090a88a402f98f57cb60872dfd3506fd4 (diff) | |
download | PeerTube-c2a89b70ce75c4955cbdb1ced6fd20a5010a8c9b.tar.gz PeerTube-c2a89b70ce75c4955cbdb1ced6fd20a5010a8c9b.tar.zst PeerTube-c2a89b70ce75c4955cbdb1ced6fd20a5010a8c9b.zip |
Fix margin-content and miniature thumbnail width on mobile, fix media queries for tables above lg breakpoint
Diffstat (limited to 'client/src/sass/include')
-rw-r--r-- | client/src/sass/include/_miniature.scss | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/sass/include/_miniature.scss b/client/src/sass/include/_miniature.scss index 5e591cf45..c937a0f72 100644 --- a/client/src/sass/include/_miniature.scss +++ b/client/src/sass/include/_miniature.scss | |||
@@ -127,9 +127,9 @@ $play-overlay-width: 18px; | |||
127 | } | 127 | } |
128 | 128 | ||
129 | .video-thumbnail { | 129 | .video-thumbnail { |
130 | margin: 0 -15px 10px -15px; | 130 | margin-bottom: 10px; |
131 | width: 100vw; | 131 | width: 100%; |
132 | height: calc(100vw / #{$video-thumbnail-ratio}); | 132 | height: calc(100% / #{$video-thumbnail-ratio}); |
133 | border-radius: 0; | 133 | border-radius: 0; |
134 | 134 | ||
135 | img { | 135 | img { |