From 3166955eb90a3e65da61a6bca9c961179f9ae479 Mon Sep 17 00:00:00 2001 From: Florian Hotze Date: Sat, 26 Oct 2024 01:19:47 +0200 Subject: [PATCH] Addons store: Multiple styling improvements (#2833) Follow-up for #2216. - Do not use addon swiper on iPad. - Revert addon card size changes. - Show more addon cards in swiper in landscape mode. --------- Signed-off-by: Florian Hotze --- .../web/src/components/addons/addon-card.vue | 4 ++-- .../web/src/components/addons/addons-section.vue | 16 +++++++--------- .../web/src/components/addons/addons-swiper.vue | 10 ++++++++-- 3 files changed, 17 insertions(+), 13 deletions(-) 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 92f8ae2c3a..196b3035e3 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 @@ -25,7 +25,7 @@ - + @@ -111,7 +111,7 @@ import AddonStatsLine from './addon-stats-line.vue' import AddonLogo from '@/components/addons/addon-logo.vue' export default { - props: ['addon', 'headline', 'installActionText'], + props: ['addon', 'headline', 'installActionText', 'lazyLogo'], components: { AddonLogo, AddonStatsLine diff --git a/bundles/org.openhab.ui/web/src/components/addons/addons-section.vue b/bundles/org.openhab.ui/web/src/components/addons/addons-section.vue index 79cd9cfb4f..98e05362d4 100644 --- a/bundles/org.openhab.ui/web/src/components/addons/addons-section.vue +++ b/bundles/org.openhab.ui/web/src/components/addons/addons-section.vue @@ -10,19 +10,19 @@ {{ subtitle }}