Skip to content

Commit

Permalink
fix(table): 修复表格背景颜色再深色模式下会被穿透问题 (#1133)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangmaniu committed Aug 26, 2021
1 parent 6e7f6f8 commit 30fa4cf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build/vite/plugin/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export function configThemePlugin(isBuild: boolean): Plugin[] {
'border-color-base': '#303030',
// 'border-color-split': '#30363d',
'item-active-bg': '#111b26',
'app-content-background': 'rgb(255 255 255 / 4%)',
'app-content-background': '#1e1e1e',
'tree-node-selected-bg': '#11263c',

'alert-success-border-color': '#274916',
Expand Down
7 changes: 7 additions & 0 deletions src/components/Table/src/BasicTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,13 @@
@prefix-cls: ~'@{namespace}-basic-table';
[data-theme='dark'] {
.ant-table-tbody > tr:hover.ant-table-row-selected > td,
.ant-table-tbody > tr.ant-table-row-selected td {
background-color: #262626;
}
}
.@{prefix-cls} {
max-width: 100%;
Expand Down

0 comments on commit 30fa4cf

Please sign in to comment.