diff --git a/style.css b/style.css index f72f780..6bf8b5a 100644 --- a/style.css +++ b/style.css @@ -2527,22 +2527,36 @@ a.btn-secondary { 📄 自定义页面 —— 全屏沉浸式 ============================================================ */ +/* ============================================================ + 📄 自定义页面 —— 全屏沉浸式(位置修正版) + ============================================================ */ + #customPageContainer { + position: fixed !important; + top: 64px !important; + left: 0 !important; + width: 100vw !important; + height: calc(100vh - 64px) !important; padding: 0 !important; margin: 0 !important; background: transparent !important; + z-index: 40 !important; + overflow: hidden !important; } #customPageContainer iframe { display: block !important; width: 100% !important; - height: calc(100vh - 64px) !important; + height: 100% !important; border: none !important; border-radius: 0 !important; background: transparent !important; } + +/* 移动端适配 */ @media (max-width: 768px) { - #customPageContainer iframe { + #customPageContainer { + top: 56px !important; height: calc(100vh - 56px) !important; } }