diff options
author | MaZderMind | 2016-12-29 02:27:48 +0100 |
---|---|---|
committer | MaZderMind | 2016-12-29 02:27:48 +0100 |
commit | 5faaebf0454e2d35b5fccc55ef9685328680f780 (patch) | |
tree | 1054d3ea270b749215b4d381020e4ae014b8e5e9 /assets/css/_relive.less | |
parent | b802ead38b52fa2306b480572518da20687d0d94 (diff) | |
parent | ca2b184b87dba5c0f382332116b277d5ed156878 (diff) |
Merge branch 'feature/relive-js' into events/33c3
Diffstat (limited to 'assets/css/_relive.less')
-rw-r--r-- | assets/css/_relive.less | 13 |
1 files changed, 10 insertions, 3 deletions
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; + } } } |