Explorar el Código

fix: layout height

F-loat hace 7 años
padre
commit
f02c479e09
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      src/components/SiderMenu/index.less
  2. 1 1
      src/index.less

+ 1 - 1
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;

+ 1 - 1
src/index.less

@@ -10,7 +10,7 @@ body,
 }
 
 :global(.ant-layout) {
-  min-height: 100%;
+  min-height: 100vh;
 }
 
 canvas {