proj card fixes

This commit is contained in:
Prospector
2026-02-07 12:05:59 -08:00
parent a978873bff
commit 428efde36d
7 changed files with 178 additions and 168 deletions

View File

@@ -285,9 +285,9 @@
]"
/>
<div
<ProjectCardList
v-if="projects && projects?.length > 0"
:class="'project-list display-mode--' + (cosmetics.searchDisplayMode.collection || 'list')"
:layout="cosmetics.searchDisplayMode.collection"
>
<ProjectCard
v-for="project in (route.params.projectType !== undefined
@@ -343,7 +343,7 @@
</button>
</template>
</ProjectCard>
</div>
</ProjectCardList>
<div v-else>
<div class="mx-auto flex flex-col justify-center gap-8 p-6 text-center">
<EmptyIllustration class="h-[120px] w-auto" />
@@ -402,6 +402,7 @@ import {
NormalPage,
OverflowMenu,
ProjectCard,
ProjectCardList,
RadioButtons,
SidebarCard,
useRelativeTime,