diff --git a/bundles/org.openhab.ui/web/src/components/widgets/chart/oh-chart-page.vue b/bundles/org.openhab.ui/web/src/components/widgets/chart/oh-chart-page.vue index ee2a96e77..8413ca860 100644 --- a/bundles/org.openhab.ui/web/src/components/widgets/chart/oh-chart-page.vue +++ b/bundles/org.openhab.ui/web/src/components/widgets/chart/oh-chart-page.vue @@ -13,13 +13,18 @@ overflow hidden top calc(var(--f7-safe-area-top) + var(--f7-navbar-height)) width 100% - height calc(100dvh - var(--f7-safe-area-top) - var(--f7-navbar-height)) !important + --oh-chart-page-height calc(100% - var(--f7-safe-area-top) - var(--f7-safe-area-bottom) - var(--f7-navbar-height)) + height var(--oh-chart-page-height) !important &.with-tabbar - height calc(100dvh - var(--f7-safe-area-top) - var(--f7-safe-area-bottom) - var(--f7-navbar-height) - var(--f7-tabbar-labels-height)) !important + height calc(var(--oh-chart-page-height) - var(--f7-tabbar-labels-height)) !important &.with-toolbar - height calc(100dvh - var(--f7-safe-area-top) - var(--f7-safe-area-bottom) - var(--f7-navbar-height) - var(--f7-toolbar-height)) !important + height calc(var(--oh-chart-page-height) - var(--f7-toolbar-height)) !important &.sheet-opened - height calc(100dvh - var(--f7-safe-area-top) - var(--f7-safe-area-bottom) - var(--f7-navbar-height) - var(--f7-sheet-height)) !important + height calc(var(--oh-chart-page-height) - var(--f7-sheet-height)) !important + +.device-ios /* fix chart rendering issues on iOS >= 17.4 */ + .oh-chart-page-chart + --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 */ diff --git a/bundles/org.openhab.ui/web/src/pages/analyzer/analyzer.vue b/bundles/org.openhab.ui/web/src/pages/analyzer/analyzer.vue index e8907e99e..618125fb5 100644 --- a/bundles/org.openhab.ui/web/src/pages/analyzer/analyzer.vue +++ b/bundles/org.openhab.ui/web/src/pages/analyzer/analyzer.vue @@ -235,9 +235,6 @@ --f7-theme-color-rgb var(--f7-color-blue-rgb) --f7-theme-color-tint var(--f7-color-blue-tint) z-index 11000 -.analyzer-content - .analyzer-chart - position fixed !important .md .analyzer-controls .toolbar .link width 28%