Commit deff31bc5d915e4d3eebf8d625bee02e22e9fe75
Committed by
GitHub
1 parent
e09a797d
style: 优化滚动条显示,只有在内容超过显示高度时才会出现 (#1978)
Showing
1 changed file
with
4 additions
and
0 deletions
src/components/Table/src/BasicTable.vue
@@ -401,6 +401,10 @@ | @@ -401,6 +401,10 @@ | ||
401 | width: 100%; | 401 | width: 100%; |
402 | overflow-x: hidden; | 402 | overflow-x: hidden; |
403 | 403 | ||
404 | + .ant-table-body { | ||
405 | + overflow: auto !important; | ||
406 | + } | ||
407 | + | ||
404 | &-title { | 408 | &-title { |
405 | display: flex; | 409 | display: flex; |
406 | padding: 8px 6px; | 410 | padding: 8px 6px; |