From 574c313fdec2a5b510b07a1c6cf32a02ff1967e4 Mon Sep 17 00:00:00 2001 From: Florian Hotze Date: Fri, 25 Oct 2024 13:56:15 +0200 Subject: [PATCH] Addons store: Use swiper for addon cards on mobile & Reduce size of addon card on desktop (#2216) Fixes #2205 and fixes #1668. This slighly reduces the addon card size on desktop and uses a swiper (like in many app stores) instead of a flex on mobile. Signed-off-by: Florian Hotze --- .../web/src/components/addons/addon-card.vue | 10 ++-- .../src/components/addons/addons-section.vue | 55 ++++++++++++------- .../src/components/addons/addons-swiper.vue | 25 +++++++++ 3 files changed, 63 insertions(+), 27 deletions(-) create mode 100644 bundles/org.openhab.ui/web/src/components/addons/addons-swiper.vue diff --git a/bundles/org.openhab.ui/web/src/components/addons/addon-card.vue b/bundles/org.openhab.ui/web/src/components/addons/addon-card.vue index 7181bed812..92f8ae2c3a 100644 --- a/bundles/org.openhab.ui/web/src/components/addons/addon-card.vue +++ b/bundles/org.openhab.ui/web/src/components/addons/addon-card.vue @@ -1,5 +1,5 @@