🐛 Fix a Table scrollbar style in IE

when customize line-height of empty table

close #17175
This commit is contained in:
afc163 2019-06-21 15:20:01 +08:00
parent 07c85ea21f
commit bdfd877f3a
No known key found for this signature in database
GPG Key ID: 738F973FCE5C6B48

View File

@ -22,7 +22,10 @@
} }
&-empty &-body { &-empty &-body {
overflow: auto !important; // https://github.com/ant-design/ant-design/issues/11135
overflow-x: auto !important;
// https://github.com/ant-design/ant-design/issues/17175
overflow-y: hidden !important;
} }
table { table {
@ -395,11 +398,13 @@
&-placeholder { &-placeholder {
position: relative; position: relative;
z-index: 1; z-index: 1;
margin-top: -1px;
padding: @table-padding-vertical @table-padding-horizontal; padding: @table-padding-vertical @table-padding-horizontal;
color: @disabled-color; color: @disabled-color;
font-size: @font-size-base; font-size: @font-size-base;
text-align: center; text-align: center;
background: @component-background; background: @component-background;
border-top: @border-width-base @border-style-base @border-color-split;
border-bottom: @border-width-base @border-style-base @border-color-split; border-bottom: @border-width-base @border-style-base @border-color-split;
border-radius: 0 0 @border-radius-base @border-radius-base; border-radius: 0 0 @border-radius-base @border-radius-base;
.@{iconfont-css-prefix} { .@{iconfont-css-prefix} {