From 3290f37c76784f1b96cefb5d389e48db56033b0a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 9 Feb 2018 09:30:37 +0100 Subject: Video previews take all the width on mobile --- client/src/app/shared/video/abstract-video-list.scss | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'client/src/app/shared/video/abstract-video-list.scss') diff --git a/client/src/app/shared/video/abstract-video-list.scss b/client/src/app/shared/video/abstract-video-list.scss index 0f0ff20f0..3fdfcefa0 100644 --- a/client/src/app/shared/video/abstract-video-list.scss +++ b/client/src/app/shared/video/abstract-video-list.scss @@ -6,23 +6,29 @@ } } -@media screen and (max-width: 400px) and (min-resolution: 1.5dppx) { +@media screen and (max-width: 500px) { .videos { text-align: center; /deep/ .video-miniature { padding-right: 0; - height: 215px; + height: auto; width: 100%; + margin-bottom: 20px; .video-miniature-information { - width: 100%; + width: 100% !important; + + span { + width: 100%; + } } /deep/ .video-thumbnail { width: 100%; img { + height: auto; width: 100%; } } -- cgit v1.2.3