Redesign: Fix page partially visible behind composer on Safari iOS (#40705)

This commit is contained in:
diondiondion
2026-09-25 15:24:55 +00:00
committed by GitHub
parent fe2ea1342c
commit a4ac5f5670

View File

@@ -48,6 +48,18 @@
max-width: 500px;
margin: var(--space-4);
}
@media (width < #{variables.$mobile-menu-breakpoint}) {
// Add a backdrop for the mobile composer to cover up the page
// behind the composer that can be visible on Safari iOS
&::before {
content: '';
position: fixed;
inset: 0;
z-index: -1;
background-color: var(--color-bg-primary);
}
}
}
.composerMinimized {