Skip to content

Commit ea5121d

Browse files
authored
Chart page: Fix wrong height and top position in sheets (#2992)
Signed-off-by: Florian Hotze <[email protected]>
1 parent 7034ad9 commit ea5121d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

bundles/org.openhab.ui/web/src/components/widgets/chart/oh-chart-page.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@
2222
&.sheet-opened
2323
height calc(var(--oh-chart-page-height) - var(--f7-sheet-height)) !important
2424
25+
.sheet-modal-inner
26+
.oh-chart-page-chart
27+
top 0
28+
height calc(var(--oh-chart-page-height) + var(--f7-toolbar-height)) !important
29+
2530
.device-ios /* fix chart rendering issues on iOS >= 17.4 */
2631
.oh-chart-page-chart
2732
--oh-chart-page-height calc(100dvh - var(--f7-safe-area-top) - var(--f7-safe-area-bottom) - var(--f7-navbar-height)) /* use dvh because with % the height is calculated to 0px and ECharts fails to render */

0 commit comments

Comments
 (0)