🐛 Fix Table column align in windows chrome (#19986)

close #19952
This commit is contained in:
偏右 2019-12-05 10:55:45 +08:00 committed by GitHub
parent 14619bc1d8
commit 89a6593c44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -660,7 +660,12 @@
// https://stackoverflow.com/a/54101063
// https://github.com/react-component/table/pull/333
scrollbar-color: transparent transparent;
min-width: unset;
&::-webkit-scrollbar {
// set min width to window chrome scrollbar
// https://github.com/ant-design/ant-design/issues/19952#issuecomment-559367149
min-width: inherit;
background-color: transparent;
}
}

View File

@ -127,7 +127,7 @@
"rc-slider": "~8.7.1",
"rc-steps": "~3.5.0",
"rc-switch": "~1.9.0",
"rc-table": "~6.10.4",
"rc-table": "~6.10.5",
"rc-tabs": "~9.7.0",
"rc-time-picker": "~3.7.1",
"rc-tooltip": "~3.7.3",