From ca2b184b87dba5c0f382332116b277d5ed156878 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Thu, 29 Dec 2016 02:25:12 +0100 Subject: correct video-size to 1920 --- assets/css/_relive.less | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'assets/css') diff --git a/assets/css/_relive.less b/assets/css/_relive.less index 512c3cd..09d54ad 100644 --- a/assets/css/_relive.less +++ b/assets/css/_relive.less @@ -28,13 +28,20 @@ body.relive { body.relive-player { .player-wrap { - padding: 50px 0; + padding: 0; border: 1px solid #ddd; - border-radius: @border-radius-large; - margin-bottom: 25px; .video-wrap { margin: 0 auto; + + > [data-player] { + // force 16:9 aspect ratio + // https://gordonlesti.com/bootstrap-responsive-embed-aspect-ratio/ + padding-bottom: 56.25%; + + width: auto !important; + height: auto !important; + } } } -- cgit v1.2.3