From ed016ce0a267e412ff6d1a222adef3dc85e47e9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A6=BA=E7=8B=A8?= <18119604035@163.com> Date: Tue, 25 Apr 2023 10:02:09 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=86=E9=A2=91=E6=92=AD=E6=94=BE=E8=83=8C?= =?UTF-8?q?=E6=99=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.scss | 1 - src/pages/course/video.module.scss | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/App.scss b/src/App.scss index a9c2cc8..210bd65 100644 --- a/src/App.scss +++ b/src/App.scss @@ -1,6 +1,5 @@ #root { width: 100%; - min-height: 900px; margin: 0 auto; text-align: center; background-color: #ffffff; diff --git a/src/pages/course/video.module.scss b/src/pages/course/video.module.scss index e16947c..dc6b942 100644 --- a/src/pages/course/video.module.scss +++ b/src/pages/course/video.module.scss @@ -1,6 +1,6 @@ .video-mask { width: 100%; - height: 100vh; + height: 100%; min-height: 100vh; background-color: #0e0e1e; display: flex; @@ -56,7 +56,8 @@ .video-box { width: 100%; - padding-bottom: calc(9 / 16 * 100%); + // padding-bottom: calc(9 / 16 * 100%); + height: auto; margin: 0 auto; border-radius: 8px; overflow: hidden;