Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix style regressions from #2801 #2803

Merged
merged 1 commit into from
Oct 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,8 @@
.oh-col >
.oh-masonry-item >
.oh-card
--f7-safe-area-left 0px
--f7-safe-area-right 0px
--f7-safe-area-top 0px
--f7-safe-area-bottom 0px
margin-left var(--f7-card-margin-horizontal)
margin-right var(--f7-card-margin-horizontal)
</style>

<script>
Expand Down
15 changes: 9 additions & 6 deletions bundles/org.openhab.ui/web/src/css/app.styl
Original file line number Diff line number Diff line change
Expand Up @@ -311,9 +311,12 @@ html
color var(--f7-input-text-color)

// Fix safe area issues inside f7-card components, where safe areas are already respected by the f7-card itself
.card >
div
--f7-safe-area-left 0px
--f7-safe-area-right 0px
--f7-safe-area-top 0px
--f7-safe-area-bottom 0px
.card
.block
padding-left var(--f7-block-padding-horizontal) !important
padding-right var(--f7-block-padding-horizontal) !important
.media-item
.item-content
padding-left var(--f7-list-item-padding-horizontal)
.item-inner
padding-right var(--f7-list-item-padding-horizontal)