Skip to content

Commit

Permalink
style: select 下拉框最小宽度设置成 120px 优化 buttonGroupSelect 禁用选中状态样式
Browse files Browse the repository at this point in the history
  • Loading branch information
2betop committed Jan 30, 2024
1 parent 70c8d30 commit 6b57ad2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/amis-ui/scss/components/_button-group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@
}
&-button--active {
z-index: 1;

&.is-disabled {
color: var(--text-color);
border: var(--borderWidth) solid var(--borderColor);
}
}
}

Expand Down
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 @@ -149,6 +149,7 @@
}

.#{$ns}PopOver.#{$ns}Select-popover {
min-width: px2rem(120px);
&.#{$ns}PopOver--v-top {
margin-top: px2rem(4px);
}
Expand Down

0 comments on commit 6b57ad2

Please sign in to comment.