diff --git a/web/src/layouts/MainLayout.vue b/web/src/layouts/MainLayout.vue index 30ae580..7c42321 100644 --- a/web/src/layouts/MainLayout.vue +++ b/web/src/layouts/MainLayout.vue @@ -29,7 +29,11 @@ > - +
* { + flex: 1 1 auto; + min-height: 0; +} + .app-backdrop { background: #f5f7fb; } diff --git a/web/src/style.css b/web/src/style.css index d347d88..955a64c 100644 --- a/web/src/style.css +++ b/web/src/style.css @@ -198,6 +198,19 @@ body { padding: 12px 2px 0; } +.app-vxe-table-body { + flex: 1; + min-height: 0; + display: flex; + flex-direction: column; + overflow: hidden; +} + +.app-vxe-table-body > .vxe-table { + flex: 1; + min-height: 0; +} + .page-card .n-data-table { background: transparent; }