mirror of
https://github.com/mastodon/mastodon.git
synced 2026-09-29 00:38:18 -05:00
Redesign: Fix page partially visible behind composer on Safari iOS (#40705)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user