Explorar o código

【优化】解决全局有滚动条问题

cherishsince hai 1 ano
pai
achega
2be1411179
Modificáronse 1 ficheiros con 1 adicións e 6 borrados
  1. 1 6
      src/layout/Layout.vue

+ 1 - 6
src/layout/Layout.vue

@@ -72,12 +72,7 @@ $prefix-cls: #{$namespace}-layout;
 .#{$prefix-cls} {
   background-color: var(--app-content-bg-color);
   :deep(.#{$elNamespace}-scrollbar__view) {
-    //height: 100% !important;
-    position: absolute;
-    top: 0;
-    left: 0;
-    right: 0;
-    bottom: 0;
+    height: 99% !important;
   }
 }
 </style>