From f5d2c8c6560804d0d2e3751e66b035130664361d Mon Sep 17 00:00:00 2001 From: David Kesl Date: Mon, 25 Sep 2023 23:54:26 +0200 Subject: [PATCH] Update virtual box height for MacOS Signed-off-by: David Kesl --- .../web/src/pages/settings/items/items-list-vlist.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bundles/org.openhab.ui/web/src/pages/settings/items/items-list-vlist.vue b/bundles/org.openhab.ui/web/src/pages/settings/items/items-list-vlist.vue index 4e77b6fe27..35c80ca2d4 100644 --- a/bundles/org.openhab.ui/web/src/pages/settings/items/items-list-vlist.vue +++ b/bundles/org.openhab.ui/web/src/pages/settings/items/items-list-vlist.vue @@ -219,7 +219,9 @@ export default { if (this.$theme.ios) vlHeight = 78 if (this.$theme.aurora) vlHeight = 60.77 if (this.$theme.md) vlHeight = 87.4 - if (this.$device.macos) vlHeight -= 0.77 + if (this.$device.macos) { + if (window.navigator.userAgent.includes('Safari') && !window.navigator.userAgent.includes('Chrome')) vlHeight -= 0.77 + } if (item.tags) { let tagsNonS = item.tags if (item.metadata && item.metadata.semantics) {