From 40152bb19cb17a5a02c4cb2531c482113aad3acd Mon Sep 17 00:00:00 2001 From: rulingcom Date: Wed, 13 Oct 2021 06:24:00 +0000 Subject: [PATCH] fix video --- assets/stylesheets/template/layout/header.scss | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/assets/stylesheets/template/layout/header.scss b/assets/stylesheets/template/layout/header.scss index 918fcea..ba30ff7 100644 --- a/assets/stylesheets/template/layout/header.scss +++ b/assets/stylesheets/template/layout/header.scss @@ -108,22 +108,23 @@ } } &,& .jp-jplayer{ + height: calc(100vw /16 * 9) !important; @media(min-width:1801px){ - height: 1080px; + height: 840px; .ad-overlay{ bottom: 50%; position: absolute; } } @media screen and (min-width:1451px) and (max-width:1800px){ - height: 800px; + height: 760px; .ad-overlay{ bottom: 40%; position: absolute; } } @media screen and (min-width:1281px) and (max-width:1450px){ - height: 800px; + height: 760px; .ad-overlay{ bottom: 50%; position: absolute; @@ -151,7 +152,7 @@ } } @media(max-width: $screen-xs){ - height: 800px; + height: 760px; .ad-overlay{ top: 17%; position: absolute;