@davoodmehraban89 / Factor-easy-2 Mirror · read-only / commits / aaba1d2
Fork 0

سامانه صدور فاکتور و حسابداری

Mirrored from https://github.com/davoodmehraban89/Factor-easy.git

Synced Dec 3, 20:45 UTC

UI: enforce structural scroll ownership at runtime

davoodmehraban89 committed Oct 2, 2026 at 12:37 UTC aaba1d2380dbf74466860a394361542f173aedb4
1 file changed +2 -1
js/ui.js
+2 -1
@@ -8,7 +8,8 @@ function installDesktopScrollOwnershipStyles(){
8 .app-root{height:100vh;min-height:0;overflow:hidden}
9 .module-rail,.module-panel-links,.main-surface{direction:ltr;overscroll-behavior:contain;scrollbar-gutter:stable}
10 .module-rail>*,.module-panel-links>*,.main-surface>*{direction:rtl}
11 - .main-surface{height:100vh;overflow-y:auto;scrollbar-width:thin}
11 + .main-surface{position:fixed;top:0;bottom:0;left:0;right:calc(var(--shell-rail) + var(--shell-panel));width:auto;max-width:none;margin:0;height:auto;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin}
12 + .shell-panel-collapsed .main-surface{right:var(--shell-rail);margin:0;max-width:none}
13 }
14 @media (max-width:820px){
15 .app-root{height:auto;min-height:100vh;overflow-x:hidden}