fix: stabilize mobile panel viewport overlay

This commit is contained in:
Youzini-afk
2026-03-28 00:09:18 +08:00
parent 14763f0711
commit a75ff11984
2 changed files with 82 additions and 11 deletions

View File

@@ -4,6 +4,8 @@
#st-bme-panel-overlay {
position: fixed;
inset: 0;
width: var(--bme-viewport-width, 100vw);
height: var(--bme-viewport-height, 100vh);
z-index: 9999;
background: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(8px);
@@ -2086,21 +2088,13 @@
/* ==================== 响应式 ==================== */
@media (max-width: 768px) {
#st-bme-panel-overlay {
flex-direction: column;
}
#st-bme-panel {
flex: 1 1 0;
width: 100vw;
height: auto;
width: var(--bme-viewport-width, 100vw);
height: var(--bme-viewport-height, 100vh);
max-width: none;
max-height: none;
border-radius: 0;
min-width: 0;
min-height: 0;
resize: none;
overflow: hidden;
}
.bme-panel-body {