diff options
Diffstat (limited to 'views/default/videolist/css.php')
-rw-r--r-- | views/default/videolist/css.php | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/views/default/videolist/css.php b/views/default/videolist/css.php index 931d80567..625935451 100644 --- a/views/default/videolist/css.php +++ b/views/default/videolist/css.php @@ -5,6 +5,19 @@ ?> .videolist-watch { - margin-top: 40px; - margin-left: 20px; + margin-top: 40px; + position: relative; + padding-bottom: 56.25%; + padding-top: 30px; + height: 0; } + +.videolist-watch iframe, +.videolist-watch object, +.videolist-watch embed { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; +}
\ No newline at end of file |