fixed mandatory aspect-ratio on game card

This commit is contained in:
zurdi
2024-12-02 00:03:16 +00:00
parent ec41d72a8f
commit 16b828c082
2 changed files with 1 additions and 3 deletions

View File

@@ -1,7 +1,6 @@
<script setup lang="ts">
import storeGalleryFilter, { type FilterType } from "@/stores/galleryFilter";
import type { DetailedRom } from "@/stores/roms";
import storeGalleryView from "@/stores/galleryView";
import { ref } from "vue";
import { useDisplay } from "vuetify";
import { useRouter } from "vue-router";
@@ -10,7 +9,6 @@ import { useRouter } from "vue-router";
const props = defineProps<{ rom: DetailedRom }>();
const { xs } = useDisplay();
const show = ref(false);
const galleryViewStore = storeGalleryView();
const carousel = ref(0);
const router = useRouter();
const filters = ["genres", "franchises", "collections", "companies"] as const;

View File

@@ -16,7 +16,7 @@ import { useTheme } from "vuetify";
const props = withDefaults(
defineProps<{
rom: SimpleRom | SearchRomSchema;
aspectRatio: number;
aspectRatio?: number;
transformScale?: boolean;
titleOnHover?: boolean;
showFlags?: boolean;