@davoodmehraban89 / Factor-easy / commits / 2c09d82
Fork 0

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

UI: align shell scrollbars with owning layers

davoodmehraban89 committed Oct 2, 2026 at 11:57 UTC 2c09d820babb721eb92f3ec055853f46100c5fcd
1 file changed +13
index.html
+13
@@ -141,6 +141,19 @@ body{background:#f6f9fc}
141 .module-panel-handle{position:fixed;z-index:325;top:50%;right:calc(var(--shell-rail) + var(--shell-panel) - 1px);transform:translate(50%,-50%);width:24px;height:54px;border:1px solid #cbd5e1;border-radius:10px 0 0 10px;background:#fff;color:#087c8a;box-shadow:0 4px 14px rgba(15,23,42,.12);cursor:pointer;font:700 20px/1 Arial,sans-serif;transition:right .2s ease,background .15s ease}
142 .module-panel-handle:hover{background:#effafb}
143 .module-panel-handle:focus-visible{outline:3px solid rgba(7,139,155,.22);outline-offset:2px}
144 +/* Shell scroll ownership: each desktop layer owns a right-edge scrollbar. */
145 +@media (min-width:769px){
146 + html,body{height:100%;overflow-y:hidden}
147 + .app-root{height:100vh;min-height:0;overflow:hidden}
148 + .app-shell-nav.sidebar{overflow:visible}
149 + .module-rail{direction:ltr;scrollbar-gutter:stable}
150 + .module-rail>*{direction:rtl}
151 + .module-panel{overflow:visible}
152 + .module-panel-links{height:calc(100vh - var(--shell-top));overflow-y:auto;padding:11px;direction:ltr;scrollbar-gutter:stable}
153 + .module-panel-links>*{direction:rtl}
154 + .main-surface{height:100vh;overflow-y:auto;overflow-x:hidden;direction:ltr;scrollbar-gutter:stable}
155 + .main-surface>*{direction:rtl}
156 +}
157 .module-panel-links{height:calc(100vh - var(--shell-top));overflow-y:auto;padding:11px}
158 .module-group{padding:5px 0 11px;border-bottom:1px solid #f0f3f7;margin-bottom:8px}
159 .module-group:last-child{border-bottom:0}