Skip to content

Commit

Permalink
oh-cell: Fix safe-area issues (#2853)
Browse files Browse the repository at this point in the history
Fixes #2844.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
  • Loading branch information
florian-h05 authored Nov 1, 2024
1 parent 4f35c14 commit 4dfdc98
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions bundles/org.openhab.ui/web/src/css/app.styl
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 4dfdc98

Please sign in to comment.