style(components): Replace inset to provide better compatibility (#21601)

* style(components): Replace inset to provide better compatibility

* ci: fix

* ci: fix
This commit is contained in:
thinkasany
2025-08-04 12:34:08 +08:00
committed by GitHub
parent d927fad102
commit 82fcbf0237
2 changed files with 8 additions and 2 deletions

View File

@@ -93,7 +93,10 @@ $segmented-item-padding-vertical: map.merge(
&:before {
position: absolute;
content: '';
inset: 0;
left: 0;
right: 0;
top: 0;
bottom: 0;
border-radius: inherit;
outline: 2px solid getCssVar('segmented-item-selected-bg-color');
outline-offset: 1px;

View File

@@ -12,7 +12,10 @@
@include e(mask) {
position: absolute;
z-index: 999;
inset: 0;
left: 0;
right: 0;
top: 0;
bottom: 0;
}
@include e(mask-horizontal) {
cursor: col-resize;