From 27b3d5f5b49f731458a9cfc2eea73e035cfcdf0e Mon Sep 17 00:00:00 2001 From: chiu Date: Tue, 31 Aug 2021 13:04:00 +0800 Subject: [PATCH] fix video style --- assets/stylesheets/template/layout/header.scss | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/assets/stylesheets/template/layout/header.scss b/assets/stylesheets/template/layout/header.scss index f72012a..2a7699e 100644 --- a/assets/stylesheets/template/layout/header.scss +++ b/assets/stylesheets/template/layout/header.scss @@ -176,16 +176,12 @@ [id^="jp_video_"]{ height: auto !important; width: auto !important; - @media(max-width: 1024px){ - max-width: fit-content; - } + min-height: 100%; + min-width: 100%; + max-width: none !important; @media(max-width: 768px){ - max-width: fit-content; transform: translateX(-25%); } - @media(min-width: 1900px){ - min-width: 100% !important; - } } .ad-overlay{ background: none;