mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-19 08:12:52 +00:00
fix(ui): drop the home-indicator padding of a bottom sheet on the keyboard
A bottom sheet standing on the on-screen keyboard kept its safe-area inset as bottom padding, leaving about 34 px of empty space between its last row and the keys on an iPhone.
This commit is contained in:
1 parent
6b41c11f30
commit
938b5151de
3 files changed
+26
-2
No files matched your search
@@ -76,6 +76,13 @@
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* `keyboard-open:` — while the on-screen keyboard is up (see the keyboard
|
||||
* rules further down). A bottom sheet then stands on the keyboard, not on
|
||||
* the home indicator, so its safe-area padding has nothing left to clear.
|
||||
*/
|
||||
@custom-variant keyboard-open (html[data-keyboard="open"] &);
|
||||
|
||||
@custom-variant shell-mobile {
|
||||
@media (max-width: 47.98rem), (pointer: coarse) and (max-height: 520px) {
|
||||
@slot;
|
||||
|
||||
Reference in new issue
Block a user