oh-cell: Fix safe-area issues (#2853)

Fixes #2844.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
pull/2854/head
Florian Hotze 2024-11-01 22:18:30 +01:00 committed by GitHub
parent 4f35c14dc9
commit 4dfdc981f4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 0 deletions

View File

@ -320,3 +320,10 @@ html
padding-left var(--f7-list-item-padding-horizontal)
.item-inner
padding-right var(--f7-list-item-padding-horizontal)
// Fix safe area issues with oh-cell components, where safe areas are already respected by the wrapping oh-block
.oh-cell
margin-top var(--f7-card-expandable-margin-vertical)
margin-bottom var(--f7-card-expandable-margin-vertical)
margin-left var(--f7-card-expandable-margin-horizontal)
margin-right var(--f7-card-expandable-margin-horizontal)