aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-09-04 17:30:57 +0200
committerChocobozzz <me@florianbigard.com>2018-09-04 17:31:30 +0200
commit6aff854c0e56a11b61fa1130763c7c86e46a4c4d (patch)
treee76567630c72e882f25b36993a482956eb411b80 /client/src/sass
parent0292eb8c88e83b418db403144cbb3732d5721eaf (diff)
downloadPeerTube-6aff854c0e56a11b61fa1130763c7c86e46a4c4d.tar.gz
PeerTube-6aff854c0e56a11b61fa1130763c7c86e46a4c4d.tar.zst
PeerTube-6aff854c0e56a11b61fa1130763c7c86e46a4c4d.zip
Fix overview page on mobile
Diffstat (limited to 'client/src/sass')
-rw-r--r--client/src/sass/include/_mixins.scss29
1 files changed, 29 insertions, 0 deletions
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 @@
471 text-align: center; 471 text-align: center;
472 align-items: center; 472 align-items: center;
473 } 473 }
474}
475
476@mixin video-miniature-small-screen {
477 text-align: center;
478
479 /deep/ .video-miniature {
480 padding-right: 0;
481 height: auto;
482 width: 100%;
483 margin-bottom: 20px;
484
485 .video-miniature-information {
486 width: 100% !important;
487
488 span {
489 width: 100%;
490 }
491 }
492
493 .video-thumbnail {
494 width: 100%;
495 height: auto;
496
497 img {
498 width: 100%;
499 height: auto;
500 }
501 }
502 }
474} \ No newline at end of file 503} \ No newline at end of file