mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user