From f02c479e09e5f4a352d35a9e7dda6f57c64ede41 Mon Sep 17 00:00:00 2001 From: F-loat <945852046@qq.com> Date: Tue, 12 Jun 2018 15:05:44 +0800 Subject: [PATCH] fix: layout height --- src/components/SiderMenu/index.less | 2 +- src/index.less | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/SiderMenu/index.less b/src/components/SiderMenu/index.less index d3985627..143f378c 100644 --- a/src/components/SiderMenu/index.less +++ b/src/components/SiderMenu/index.less @@ -25,7 +25,7 @@ } .sider { - min-height: 100vh; + min-height: 100%; box-shadow: 2px 0 6px rgba(0, 21, 41, 0.35); position: relative; z-index: 10; diff --git a/src/index.less b/src/index.less index 9383a5b2..6995dbf0 100644 --- a/src/index.less +++ b/src/index.less @@ -10,7 +10,7 @@ body, } :global(.ant-layout) { - min-height: 100%; + min-height: 100vh; } canvas { -- GitLab