From 851d2507ce656a934147585d5262b08db2c22a1c Mon Sep 17 00:00:00 2001 From: Florian Hotze Date: Mon, 30 Sep 2024 22:19:34 +0200 Subject: [PATCH] oh-rollershutter: Use displayState if available & Improve styling (#2777) Fixes #2612. Signed-off-by: Florian Hotze --- .../widgets/standard/oh-rollershutter-card.vue | 9 +++++---- .../components/widgets/system/oh-rollershutter.vue | 14 ++++++++++---- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/bundles/org.openhab.ui/web/src/components/widgets/standard/oh-rollershutter-card.vue b/bundles/org.openhab.ui/web/src/components/widgets/standard/oh-rollershutter-card.vue index ff38574e58..60bc9e503f 100644 --- a/bundles/org.openhab.ui/web/src/components/widgets/standard/oh-rollershutter-card.vue +++ b/bundles/org.openhab.ui/web/src/components/widgets/standard/oh-rollershutter-card.vue @@ -17,10 +17,11 @@ &.vertical transform rotate(90deg) transform-origin center - .icon - margin-bottom 2px - margin-left 2px - + .icon + margin-top 2px + .state + margin-top 2px + transform rotate(-90deg)