From 5d84571b2f47963ee7a7f66da933731259ea4324 Mon Sep 17 00:00:00 2001 From: pany <939630029@qq.com> Date: Mon, 22 Aug 2022 17:14:58 +0800 Subject: [PATCH] style: layout css --- src/layout/index.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/layout/index.vue b/src/layout/index.vue index 342ee47..6901baf 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -57,6 +57,7 @@ const handleClickOutside = () => { @include clearfix; position: relative; width: 100%; + height: 100%; } .drawer-bg { @@ -81,7 +82,7 @@ const handleClickOutside = () => { width: var(--v3-sidebar-width) !important; height: 100%; position: fixed; - font-size: 0; + font-size: 0px; top: 0; bottom: 0; left: 0; @@ -113,7 +114,7 @@ const handleClickOutside = () => { // for mobile response 适配移动端 .mobile { .main-container { - margin-left: 0; + margin-left: 0px; } .sidebar-container { transition: transform 0.28s;