diff --git a/mechanic-pwa/frontend/src/index.css b/mechanic-pwa/frontend/src/index.css index 6f8cbf4..bd4570f 100644 --- a/mechanic-pwa/frontend/src/index.css +++ b/mechanic-pwa/frontend/src/index.css @@ -47,4 +47,13 @@ .fixed.top-0 { top: env(safe-area-inset-top); } + /* Full-screen page-replacement модалки (fixed inset-0 с app background) — + поиск работ, аннотация фото, zone-detail, inspection-editor. Шапка внутри + должна сидеть ниже status-bar, нижние кнопки выше home-indicator. + bg-black/40·50·90 диалоги/просмотрщики не задеваем — у них inset-0 full-bleed. */ + .fixed.inset-0.bg-background, + .fixed.inset-0.bg-background\/95 { + padding-top: env(safe-area-inset-top); + padding-bottom: env(safe-area-inset-bottom); + } }