Skip to content

Commit

Permalink
Fix user nav showing when there's only one type of project
Browse files Browse the repository at this point in the history
  • Loading branch information
Prospector committed Aug 21, 2024
1 parent d760c5c commit 74e3ab8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/frontend/src/pages/user/[id].vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="new-page sidebar">
<div class="normal-page__header pt-4">
<div
class="grid grid-cols-1 gap-x-8 gap-y-6 border-0 border-b border-solid border-button-bg pb-6 lg:grid-cols-[1fr_auto]"
class="mb-4 grid grid-cols-1 gap-x-8 gap-y-6 border-0 border-b border-solid border-button-bg pb-6 lg:grid-cols-[1fr_auto]"
>
<div class="flex gap-4">
<Avatar :src="user.avatar_url" :alt="user.username" size="96px" circle />
Expand Down Expand Up @@ -71,7 +71,7 @@
</div>
</div>
</div>
<div class="my-4 flex items-center justify-between">
<div v-if="navLinks.length > 2" class="mb-4 flex items-center justify-between">
<NavTabs :links="navLinks" class="!hidden sm:!flex" />
<nav class="navigation-card !mb-0 !mt-2 sm:!hidden">
<NavRow :links="navLinks" />
Expand Down

0 comments on commit 74e3ab8

Please sign in to comment.