Skip to content

Commit

Permalink
fix table's scrollbar background color in dark mode (ant-design#47487)
Browse files Browse the repository at this point in the history
  • Loading branch information
wkmyws authored and tanzhenyun committed Mar 29, 2024
1 parent bfde4b0 commit f95891a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/table/style/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,8 @@ const genTableStyle: GenerateStyle<TableToken, CSSObject> = (token) => {
fontSize: tableFontSize,
background: tableBg,
borderRadius: `${unit(tableRadius)} ${unit(tableRadius)} 0 0`,
// https://github.com/ant-design/ant-design/issues/47486
scrollbarColor: `${token.tableScrollThumbBg} ${token.tableScrollBg}`,
},
// https://github.com/ant-design/ant-design/issues/17611
table: {
Expand Down

0 comments on commit f95891a

Please sign in to comment.