Skip to content

Commit 26feaf7

Browse files
tdgaoProspector
andauthored
Fixes #4348 (#4773)
* also fixes spacing issue in collections card small width Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
1 parent 94c0003 commit 26feaf7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

apps/frontend/src/pages/user/[id].vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,10 @@
318318
</span>
319319
<span v-else class="text">{{ formatMessage(messages.profileNoProjectsLabel) }}</span>
320320
</div>
321-
<div v-if="['collections'].includes(route.params.projectType)" class="collections-grid">
321+
<div
322+
v-if="!route.params.projectType || route.params.projectType === 'collections'"
323+
class="collections-grid"
324+
>
322325
<nuxt-link
323326
v-for="collection in collections.sort(
324327
(a, b) => new Date(b.created) - new Date(a.created),
@@ -902,6 +905,7 @@ export default defineNuxtComponent({
902905
}
903906
904907
gap: var(--gap-md);
908+
margin-bottom: var(--gap-md);
905909
906910
.collection-item {
907911
display: flex;

0 commit comments

Comments
 (0)