From 6aff854c0e56a11b61fa1130763c7c86e46a4c4d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 4 Sep 2018 17:30:57 +0200 Subject: Fix overview page on mobile --- .../src/app/videos/video-list/video-overview.component.html | 12 +++--------- .../src/app/videos/video-list/video-overview.component.scss | 10 ++++++++++ 2 files changed, 13 insertions(+), 9 deletions(-) (limited to 'client/src/app/videos') diff --git a/client/src/app/videos/video-list/video-overview.component.html b/client/src/app/videos/video-list/video-overview.component.html index be9db3d90..4150cd5e1 100644 --- a/client/src/app/videos/video-list/video-overview.component.html +++ b/client/src/app/videos/video-list/video-overview.component.html @@ -7,9 +7,7 @@ {{ object.category.label }} -
- -
+
@@ -17,9 +15,7 @@ {{ object.tag }}
-
- -
+
@@ -31,9 +27,7 @@
-
- -
+ 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 73b6d2e53..e7dc60b4b 100644 --- a/client/src/app/videos/video-list/video-overview.component.scss +++ b/client/src/app/videos/video-list/video-overview.component.scss @@ -7,6 +7,10 @@ &:first-child { padding-top: 30px; } + + my-video-miniature { + text-align: left; + } } .section-title { @@ -33,4 +37,10 @@ margin-right: 10px; } } +} + +@media screen and (max-width: 500px) { + .section { + @include video-miniature-small-screen; + } } \ No newline at end of file -- cgit v1.2.3