From 56b75ec93ffa826b7968578e091d93fb99dcd056 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E7=AB=8B=E5=B8=AE?= <3294713004@qq.com> Date: Sat, 22 Mar 2025 21:31:02 +0800 Subject: [PATCH] =?UTF-8?q?Fix:=20=E4=BF=AE=E5=A4=8D=E7=A7=BB=E5=8A=A8?= =?UTF-8?q?=E7=AB=AF=E4=B8=8B=E4=BD=BF=E7=94=A8vh=E4=BC=9A=E5=AF=BC?= =?UTF-8?q?=E8=87=B4footerlayer=E5=85=83=E7=B4=A0=E9=AB=98=E5=BA=A6?= =?UTF-8?q?=E8=B6=85=E8=BF=87=E8=A7=86=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/css/footer-layer.css | 2 +- common/templates/html/footerlayer/footerlayer-example.html | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/common/css/footer-layer.css b/common/css/footer-layer.css index 6c80eaf2..46b1889b 100644 --- a/common/css/footer-layer.css +++ b/common/css/footer-layer.css @@ -9,7 +9,7 @@ height: 100%; display: flex; flex-direction: column; - max-height: calc(100vh - var(--footer-height) - var(--nav-height) - 25px); + max-height: calc(100dvh - var(--footer-height) - var(--nav-height) - 25px); } .footer-layer > .footer-layer-content > .layui-layer-title { diff --git a/common/templates/html/footerlayer/footerlayer-example.html b/common/templates/html/footerlayer/footerlayer-example.html index e5ca028a..3cc943ea 100644 --- a/common/templates/html/footerlayer/footerlayer-example.html +++ b/common/templates/html/footerlayer/footerlayer-example.html @@ -49,5 +49,10 @@ .footer-layer-example .layui-tree-iconClick .layui-icon { font-size: 16px; } + + div[m-id="{{d.mId}}"] { + width: 100%; + height: 100%; + } -
\ No newline at end of file +
\ No newline at end of file