Table: fix empty text vertical alignment issue on IE10+ (#13638)

* Table: fix empty text vertical alignment issue on IE10+

* Table: add a comment to IE-specific fixes
pull/13714/head
Jerry Chou 2018-12-07 18:30:08 +08:00 committed by hetech
parent fb4ee26b68
commit 7a031e6399
1 changed files with 3 additions and 0 deletions

View File

@ -27,6 +27,9 @@
} }
@include e(empty-text) { @include e(empty-text) {
// min-height doesn't work in IE10 and IE11 https://github.com/philipwalton/flexbugs#3-min-height-on-a-flex-container-wont-apply-to-its-flex-items
// set empty text line height up to contrainer min-height as workaround.
line-height: 60px;
width: 50%; width: 50%;
color: $--color-text-secondary; color: $--color-text-secondary;
} }