From 801455671452616e0ff0a76bb3dc7dadbbad5e7e Mon Sep 17 00:00:00 2001 From: Georges-Antoine Assi Date: Sun, 3 Aug 2025 16:41:11 -0400 Subject: [PATCH] [ROMM-2184] Fix selecting dialog buttons on mobile --- .../components/common/Game/Dialog/EditRom.vue | 2 +- .../common/Game/Dialog/MatchRom.vue | 35 +++++++++---------- .../src/components/common/SearchCover.vue | 1 - 3 files changed, 18 insertions(+), 20 deletions(-) diff --git a/frontend/src/components/common/Game/Dialog/EditRom.vue b/frontend/src/components/common/Game/Dialog/EditRom.vue index 17a51a4ba..de9c517b0 100644 --- a/frontend/src/components/common/Game/Dialog/EditRom.vue +++ b/frontend/src/components/common/Game/Dialog/EditRom.vue @@ -17,7 +17,7 @@ import { getMissingCoverImage } from "@/utils/covers"; // Props const { t } = useI18n(); -const { lgAndUp, smAndDown } = useDisplay(); +const { lgAndUp } = useDisplay(); const heartbeat = storeHeartbeat(); const route = useRoute(); const show = ref(false); diff --git a/frontend/src/components/common/Game/Dialog/MatchRom.vue b/frontend/src/components/common/Game/Dialog/MatchRom.vue index 95ea24f30..04a2279da 100644 --- a/frontend/src/components/common/Game/Dialog/MatchRom.vue +++ b/frontend/src/components/common/Game/Dialog/MatchRom.vue @@ -286,7 +286,6 @@ onBeforeUnmount(() => { :empty-state-type="searched ? 'game' : undefined" scroll-content :width="lgAndUp ? '60vw' : '95vw'" - :height="lgAndUp ? '90vh' : '775px'" > + diff --git a/frontend/src/components/common/SearchCover.vue b/frontend/src/components/common/SearchCover.vue index caa864655..6d870fe7f 100644 --- a/frontend/src/components/common/SearchCover.vue +++ b/frontend/src/components/common/SearchCover.vue @@ -119,7 +119,6 @@ onBeforeUnmount(() => { empty-state-type="game" scroll-content :width="lgAndUp ? '60vw' : '95vw'" - :height="lgAndUp ? '90vh' : '775px'" >