Skip to content

Commit

Permalink
fix(tag): 设置按钮字号 (#2430)
Browse files Browse the repository at this point in the history
  • Loading branch information
oasis-cloud authored Jul 10, 2024
1 parent 26f8a30 commit dd891e3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/packages/tag/tag.harmony.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 10px;
}
.nut-tag-plain {
background-color: #fff;
Expand Down
1 change: 1 addition & 0 deletions src/packages/tag/tag.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
display: inline-flex;
align-items: center;
justify-content: center;
font-size: $tag-font-size;
}

&-plain {
Expand Down
1 change: 1 addition & 0 deletions src/packages/tag/tag.taro.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ export const Tag: FunctionComponent<Partial<TagProps>> = (props) => {
setVisible(false)
onClose && onClose(e)
}}
className={`${classPrefix}-custom-icon`}
>
X
</Text>
Expand Down

0 comments on commit dd891e3

Please sign in to comment.