UX: Fix unreachable buttons on menus in Safari iOS (#11458)

Safari overlays its own nav at the bottom 10% or so of the screen. This
makes buttons in that area virtually unclickable, so to ensure buttons
there are reachable, we need to add enough bottom padding to menu panels.
This commit is contained in:
Penar Musaraj
2020-12-10 08:11:58 -05:00
committed by GitHub
parent da2a61e36c
commit fb2e24a77a

View File

@@ -33,5 +33,6 @@
}
.panel-body-contents {
padding-bottom: env(safe-area-inset-bottom);
// 2em padding very useful for iOS Safari's overlayed bottom nav
padding-bottom: calc(env(safe-area-inset-bottom) + 2em);
}