diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-06-09 09:33:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-09 09:33:28 +0200 |
commit | e66883b37ae0796256b3aba550670a2d76cfc98a (patch) | |
tree | 3cce3c78e9f9f327470f0370a1b4065fe7e0009e /client/src/app/videos/+video-watch/video-watch-playlist.component.scss | |
parent | 6ad971d5f5e9ea2adfc58bd83ba1790efa4a8d12 (diff) | |
download | PeerTube-e66883b37ae0796256b3aba550670a2d76cfc98a.tar.gz PeerTube-e66883b37ae0796256b3aba550670a2d76cfc98a.tar.zst PeerTube-e66883b37ae0796256b3aba550670a2d76cfc98a.zip |
`fitWidth` for `video-miniature`, fluid grid (#2830)
* Fluid abstract video list
* normalize timestamp display on miniatures
* use grid for abstract-video-list
- refactor scss function var to pvar to avoid overriding css variables
- move fluid-grid margins to adapt-margin-content-width mixin for maintainability
- fix video-miniature-name margin-top on small screen
* move sceenratio function in a mixin
* display no miniature avatar in channel videos view
Diffstat (limited to 'client/src/app/videos/+video-watch/video-watch-playlist.component.scss')
-rw-r--r-- | client/src/app/videos/+video-watch/video-watch-playlist.component.scss | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/videos/+video-watch/video-watch-playlist.component.scss b/client/src/app/videos/+video-watch/video-watch-playlist.component.scss index db36dcd8b..0b0a2a899 100644 --- a/client/src/app/videos/+video-watch/video-watch-playlist.component.scss +++ b/client/src/app/videos/+video-watch/video-watch-playlist.component.scss | |||
@@ -7,7 +7,7 @@ | |||
7 | min-width: 200px; | 7 | min-width: 200px; |
8 | max-width: 470px; | 8 | max-width: 470px; |
9 | height: 66vh; | 9 | height: 66vh; |
10 | background-color: var(--mainBackgroundColor); | 10 | background-color: pvar(--mainBackgroundColor); |
11 | overflow-y: auto; | 11 | overflow-y: auto; |
12 | border-bottom: 1px solid $separator-border-color; | 12 | border-bottom: 1px solid $separator-border-color; |
13 | 13 | ||
@@ -22,7 +22,7 @@ | |||
22 | } | 22 | } |
23 | 23 | ||
24 | .playlist-by-index { | 24 | .playlist-by-index { |
25 | color: var(--greyForegroundColor); | 25 | color: pvar(--greyForegroundColor); |
26 | display: flex; | 26 | display: flex; |
27 | 27 | ||
28 | .playlist-by { | 28 | .playlist-by { |