Browse Source

Merge pull request #17223 from ant-design/fix-table-scrollbar-in-IE

fix: Table scrollbar style in IE
pull/17229/head
偏右 6 years ago
committed by GitHub
parent
commit
5c909e3413
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      components/table/style/index.less

7
components/table/style/index.less

@ -22,7 +22,10 @@
}
&-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 {
@ -395,11 +398,13 @@
&-placeholder {
position: relative;
z-index: 1;
margin-top: -1px;
padding: @table-padding-vertical @table-padding-horizontal;
color: @disabled-color;
font-size: @font-size-base;
text-align: center;
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-radius: 0 0 @border-radius-base @border-radius-base;
.@{iconfont-css-prefix} {

Loading…
Cancel
Save