1
0
* also fixes spacing issue in collections card small width

Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
This commit is contained in:
Truman Gao
2025-11-13 15:51:08 -08:00
committed by GitHub
parent 94c0003c19
commit 26feaf753a

View File

@@ -318,7 +318,10 @@
</span>
<span v-else class="text">{{ formatMessage(messages.profileNoProjectsLabel) }}</span>
</div>
<div v-if="['collections'].includes(route.params.projectType)" class="collections-grid">
<div
v-if="!route.params.projectType || route.params.projectType === 'collections'"
class="collections-grid"
>
<nuxt-link
v-for="collection in collections.sort(
(a, b) => new Date(b.created) - new Date(a.created),
@@ -902,6 +905,7 @@ export default defineNuxtComponent({
}
gap: var(--gap-md);
margin-bottom: var(--gap-md);
.collection-item {
display: flex;