mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00: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:
parent
da2a61e36c
commit
fb2e24a77a
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user