aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-08-19 11:06:58 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-08-19 11:30:21 +0200
commit2d0d756e855e65e7235a86067b7e695b4ce6fc0f (patch)
tree9e4d31995a07bd6916343390b7de98c0d8307def /client/src/app/shared
parent2711491ce1903adafb6a7768569a46ef68bfcd10 (diff)
downloadPeerTube-2d0d756e855e65e7235a86067b7e695b4ce6fc0f.tar.gz
PeerTube-2d0d756e855e65e7235a86067b7e695b4ce6fc0f.tar.zst
PeerTube-2d0d756e855e65e7235a86067b7e695b4ce6fc0f.zip
Fix responsive playlist elements
Diffstat (limited to 'client/src/app/shared')
-rw-r--r--client/src/app/shared/shared-video-playlist/video-playlist-element-miniature.component.scss9
1 files changed, 7 insertions, 2 deletions
diff --git a/client/src/app/shared/shared-video-playlist/video-playlist-element-miniature.component.scss b/client/src/app/shared/shared-video-playlist/video-playlist-element-miniature.component.scss
index afd775b25..082a5d9b2 100644
--- a/client/src/app/shared/shared-video-playlist/video-playlist-element-miniature.component.scss
+++ b/client/src/app/shared/shared-video-playlist/video-playlist-element-miniature.component.scss
@@ -22,12 +22,16 @@ my-video-thumbnail,
22} 22}
23 23
24.video { 24.video {
25 display: flex; 25 display: grid;
26 align-items: center; 26 grid-template-columns: 1fr auto;
27 background-color: pvar(--mainBackgroundColor); 27 background-color: pvar(--mainBackgroundColor);
28 padding: 10px; 28 padding: 10px;
29 border-bottom: 1px solid $separator-border-color; 29 border-bottom: 1px solid $separator-border-color;
30 30
31 .more {
32 display: flex;
33 }
34
31 &:hover { 35 &:hover {
32 background-color: rgba(0, 0, 0, 0.05); 36 background-color: rgba(0, 0, 0, 0.05);
33 37
@@ -164,6 +168,7 @@ my-video-thumbnail,
164 my-edit-button { 168 my-edit-button {
165 display: inline-flex; 169 display: inline-flex;
166 height: max-content; 170 height: max-content;
171 margin: auto;
167 } 172 }
168 } 173 }
169 174