Browse Source

BI-117565 fix: 自适应情况下number-checker的圆角实现

W3C 对于重合曲线有这样的规范:如果两个相邻的角的半径和超过了对应的盒子的边的长度,那么浏览器要重新计算保证它们不会重合。
es6
zsmj 2 years ago
parent
commit
2f8aa5d584
  1. 2
      src/less/widget/multiselect/trigger/button.checkselected.less
  2. 3
      src/less/widget/multitree/trigger/multi.tree.button.checkselected.less

2
src/less/widget/multiselect/trigger/button.checkselected.less

@ -2,7 +2,7 @@
.bi-multi-select-check-selected-button { .bi-multi-select-check-selected-button {
z-index: 1; z-index: 1;
.border-radius(50%); .border-radius(99999px);
&:active { &:active {
color: @color-bi-text-highlight; color: @color-bi-text-highlight;

3
src/less/widget/multitree/trigger/multi.tree.button.checkselected.less

@ -6,8 +6,9 @@
z-index: 1; z-index: 1;
} }
.trigger-check-text { .trigger-check-text {
.border-radius(8px); .border-radius(99999px);
z-index: 1; z-index: 1;
&:active { &:active {
background-color: @color-bi-background-multi-select-trigger-check-selected; background-color: @color-bi-background-multi-select-trigger-check-selected;
} }

Loading…
Cancel
Save