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 --- client/src/sass/include/_mixins.scss | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'client/src/sass/include') diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss index 547f03caa..765297c87 100644 --- a/client/src/sass/include/_mixins.scss +++ b/client/src/sass/include/_mixins.scss @@ -471,4 +471,33 @@ text-align: center; align-items: center; } +} + +@mixin video-miniature-small-screen { + text-align: center; + + /deep/ .video-miniature { + padding-right: 0; + height: auto; + width: 100%; + margin-bottom: 20px; + + .video-miniature-information { + width: 100% !important; + + span { + width: 100%; + } + } + + .video-thumbnail { + width: 100%; + height: auto; + + img { + width: 100%; + height: auto; + } + } + } } \ No newline at end of file -- cgit v1.2.3