refactor: fix popup component zIndex (#5397)

This commit is contained in:
Netfan
2025-01-15 12:32:03 +08:00
committed by GitHub
parent 27a3888e35
commit 13087a10b7
21 changed files with 62 additions and 76 deletions

View File

@@ -81,3 +81,7 @@
transform: translateY(0);
}
}
.z-popup {
z-index: var(--popup-z-index);
}

View File

@@ -1,4 +1,6 @@
:root {
/** 弹出层的基础层级 **/
--popup-z-index: 2000;
--font-family: -apple-system, blinkmacsystemfont, 'Segoe UI', roboto,
'Helvetica Neue', arial, 'Noto Sans', sans-serif, 'Apple Color Emoji',
'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';