Skip to content

Commit

Permalink
feat(button): [button] Modify icon button up and down centering issue (
Browse files Browse the repository at this point in the history
  • Loading branch information
Youyou-smiles authored Oct 28, 2024
1 parent e6d4f17 commit da0c227
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/theme/src/button/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,9 @@
&.is-only-icon.is-only-icon {
// 只有default主题的边框色和 hover 边框色 是和主题色相反的。其它都随主题的色。
// 仅图标的plain场景,无对应示例,不处理。
display: inline-flex;
align-items: center;
justify-content: center;
&.@{button-prefix-cls}--default {
border-color: var(--tv-Button-border-color-only-icon-default);

Expand Down

0 comments on commit da0c227

Please sign in to comment.