优化对话框状态管理

This commit is contained in:
jxxghp
2025-08-23 19:32:23 +08:00
parent 9faa0ded59
commit f093053ea4
3 changed files with 28 additions and 38 deletions

View File

@@ -46,10 +46,10 @@ $header: ".layout-navbar";
}
/* Ensure header styles are preserved when dialog is opened,
regardless of scroll state
but only if window was scrolled before dialog opened
*/
html.v-overlay-scroll-blocked &.window-scrolled.layout-navbar-fixed,
html.dialog-scroll-locked &.layout-navbar-fixed {
html.dialog-scroll-locked &.window-scrolled.layout-navbar-fixed {
#{$header} {
padding-inline: 1rem;