mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
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:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user