Skip to content

Commit

Permalink
feat(old-theme): [dropdown,grid,tree] modify incorrect css vars
Browse files Browse the repository at this point in the history
  • Loading branch information
MomoPoppy committed Nov 25, 2024
1 parent 394447d commit 39f0f93
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/theme/src/dropdown/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
padding: var(--tv-Dropdown-title-button-padding);
border-right: none;
border-radius: var(--tv-Dropdown-title-button-border-radius);
min-width: auto;
}

.@{dropdown-prefix-cls}__caret-button {
Expand Down
2 changes: 1 addition & 1 deletion packages/theme/src/grid/vars.less
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
// 表格激活态背景色
--tv-Grid-bg-color-active: var(--tv-color-bg-active);
// 表格悬浮背景色
--tv-Grid-bg-color-hover: var(--tv-color-bg);
--tv-Grid-bg-color-hover: var(--tv-color-bg-hover);
// 表格禁用背景色
--tv-Grid-bg-color-disabled: var(--tv-color-bg-disabled);
// 表格选中背景色
Expand Down
2 changes: 1 addition & 1 deletion packages/theme/src/tree/vars.less
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
// 选中节点背景色
--tv-Tree-node-content-current-bg-color: var(--tv-color-bg-secondary, #ffffff);
// 节点悬浮背景色
--tv-Tree-node-content-hover-bg-color: var(--tv-color-bg, #f5f5f5);
--tv-Tree-node-content-hover-bg-color: var(--tv-color-bg-hover, #f5f5f5);
// 节点字号
--tv-Tree-node-label-font-size: var(--tv-font-size-default, 14px);
// 节点内容左边距
Expand Down

0 comments on commit 39f0f93

Please sign in to comment.