fix(table): fix the style bug when the parent container is display: flex (#969)

Fix the bug of abnormal height and width of table when the parent container is display: flex

fix #922

Co-authored-by: winerlu <winerlu@tencent.com>
This commit is contained in:
justwiner 2020-12-11 16:49:19 +08:00 committed by GitHub
parent 3133552bde
commit 0cb4f7037f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@
position: relative;
overflow: hidden;
box-sizing: border-box;
flex: 1;
height: fit-content;
width: 100%;
max-width: 100%;
background-color: $--color-white;