run trunk fmt

This commit is contained in:
Georges-Antoine Assi
2025-09-07 21:28:58 -04:00
parent ce7b2746cb
commit dbdd2c3bb5
2 changed files with 26 additions and 26 deletions

View File

@@ -68,10 +68,10 @@ const theme = computed(() => {
class="w-full h-full object-cover"
>
<template #error>
<fallback-system-card :platform-name="platform.name" />
<FallbackSystemCard :platform-name="platform.name" />
</template>
</v-img>
<fallback-system-card v-else :platform-name="platform.name" />
<FallbackSystemCard v-else :platform-name="platform.name" />
</div>
<div
class="absolute inset-0 opacity-0 pointer-events-none"

View File

@@ -368,30 +368,30 @@ function scrollToCurrentRow() {
const behavior: ScrollBehavior = "smooth";
switch (navigationMode.value) {
case "systems":
scrollContainerRef.value?.scrollTo({ top: 0, behavior });
break;
case "recent":
recentSectionRef.value?.scrollIntoView({ behavior, block: "start" });
break;
case "collections":
collectionsSectionRef.value?.scrollIntoView({
behavior,
block: "start",
});
break;
case "smartCollections":
smartCollectionsSectionRef.value?.scrollIntoView({
behavior,
block: "start",
});
break;
case "virtualCollections":
virtualCollectionsSectionRef.value?.scrollIntoView({
behavior,
block: "start",
});
break;
case "systems":
scrollContainerRef.value?.scrollTo({ top: 0, behavior });
break;
case "recent":
recentSectionRef.value?.scrollIntoView({ behavior, block: "start" });
break;
case "collections":
collectionsSectionRef.value?.scrollIntoView({
behavior,
block: "start",
});
break;
case "smartCollections":
smartCollectionsSectionRef.value?.scrollIntoView({
behavior,
block: "start",
});
break;
case "virtualCollections":
virtualCollectionsSectionRef.value?.scrollIntoView({
behavior,
block: "start",
});
break;
}
setTimeout(() => {