fix(ui): Empty 图形 inset 简写改显式四边定位,规避老内核失效风险

This commit is contained in:
ozh 2026-09-09 10:52:26 +08:00
parent f3f6c0b5ce
commit f408a29e13
1 changed files with 8 additions and 2 deletions

View File

@ -99,7 +99,10 @@
.listBoard { .listBoard {
position: absolute; position: absolute;
inset: 0; top: 0;
right: 0;
bottom: 0;
left: 0;
background: $color-primary-light-bg; background: $color-primary-light-bg;
border-radius: 10px 10px 14px 14px; border-radius: 10px 10px 14px 14px;
} }
@ -190,7 +193,10 @@
.warnTriangle { .warnTriangle {
position: absolute; position: absolute;
inset: 0; top: 0;
right: 0;
bottom: 0;
left: 0;
background: $color-danger-light-bg; background: $color-danger-light-bg;
border-radius: 10px; border-radius: 10px;
clip-path: polygon(50% 0, 100% 100%, 0 100%); clip-path: polygon(50% 0, 100% 100%, 0 100%);