Просмотр исходного кода

style: 优化表格全屏样式

yusheng 3 месяцев назад
Родитель
Сommit
7b1f01ec10
1 измененных файлов с 15 добавлено и 0 удалено
  1. 15 0
      src/styles/index.scss

+ 15 - 0
src/styles/index.scss

@@ -3,3 +3,18 @@ $--ele-font-path: '~ele-admin/es/style/fonts';
 @import '~ele-admin/es/style/themes/dynamic.scss';
 @import '~ele-admin/es/style/index.scss';
 @import './transition/index.scss';
+
+  .ele-pro-table-fullscreen .el-table{
+    height: calc(100vh - 160px) !important;
+    max-height: none !important;
+    .el-table__body-wrapper{
+        
+    max-height: none !important;
+    height: calc(100% - 27px);
+    }
+    .el-table__fixed-body-wrapper{
+    max-height: none !important;
+    height: calc(100% - 27px);
+
+    }
+  }