Skip to content

Commit

Permalink
style: 优化select下checkbox样式
Browse files Browse the repository at this point in the history
  • Loading branch information
qkiroc committed Jan 11, 2025
1 parent ca5eff1 commit 0678c23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/amis-ui/scss/components/form/_select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
margin: 0;
> i {
flex-shrink: 0;
}
Expand Down
1 change: 1 addition & 0 deletions packages/amis-ui/src/components/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1095,6 +1095,7 @@ export class Select extends React.Component<SelectProps, SelectState> {
}}
disabled={item.disabled}
testIdBuilder={optTestIdBudr?.getChild('chekbx')}
size="sm"
>
{renderMenu(item, {
multiple,
Expand Down

0 comments on commit 0678c23

Please sign in to comment.