I tried it on my system but it does not seem to work. On desktop screens I don’t care as it is barely visible. But on my iPhone it looks like this (cards of custom widget moved away from top and out of center):
compared to openHAB’s cards (centered):
My code looks like this:
config:
label: Overview
style:
--f7-block-padding-horizontal: 0px
--f7-navbar-height: 0
blocks:
- component: oh-block
config:
stylesheet: |
.block:first-child{
margin-top:0;
}
slots:
default:
- component: oh-grid-row
config: {}
slots:
default:
- component: oh-grid-col
config: {}
slots:
default:
- component: widget:plant_cards
masonry: []
grid: null
canvas: null

