mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 12:09:14 +08:00
🐛 Fix a Table scrollbar style in IE
when customize line-height of empty table close #17175
This commit is contained in:
parent
07c85ea21f
commit
bdfd877f3a
@ -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} {
|
||||||
|
Loading…
Reference in New Issue
Block a user