fix: respect ios safe areas
All checks were successful
CI / Lint, typecheck and build (push) Successful in 9m54s

This commit is contained in:
zv
2026-06-13 22:31:55 +02:00
parent 1ae1be68ec
commit f434126c96
3 changed files with 50 additions and 6 deletions

View File

@@ -88,7 +88,7 @@ export function DayForecastModal({
<AnimatePresence>
{day ? (
<motion.div
className="modal-overlay z-[90] flex items-center justify-center p-0 sm:p-4 lg:p-8"
className="modal-overlay modal-safe-area z-[90] flex items-center justify-center"
initial={{ opacity: 0 }}
animate={{ opacity: 1 }}
exit={{ opacity: 0 }}
@@ -98,7 +98,7 @@ export function DayForecastModal({
role="dialog"
aria-modal="true"
aria-labelledby="day-forecast-title"
className="h-full w-full overflow-hidden bg-background shadow-card sm:max-w-6xl sm:rounded-panel sm:border sm:border-border/70"
className="h-full max-h-full w-full overflow-hidden bg-background shadow-card sm:max-w-6xl sm:rounded-panel sm:border sm:border-border/70"
initial={{ opacity: 0, y: 28, scale: 0.985 }}
animate={{ opacity: 1, y: 0, scale: 1 }}
exit={{ opacity: 0, y: 20, scale: 0.99 }}