Skip to content

Commit

Permalink
fix: fix space avatar from shrinking
Browse files Browse the repository at this point in the history
  • Loading branch information
wa0x6e committed Dec 14, 2024
1 parent 53248a8 commit 26bc5ca
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions apps/ui/src/components/Breadcrumb.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,13 @@ const space = computed(() => {
class="flex item-center space-x-2.5 truncate text-[24px]"
v-bind="$attrs"
>
<SpaceAvatar
:space="{ ...space, network: networkId as NetworkID }"
:size="36"
class="!rounded-[4px] shrink-0"
/>
<div class="shrink-0">
<SpaceAvatar
:space="{ ...space, network: networkId as NetworkID }"
:size="36"
class="!rounded-[4px]"
/>
</div>
<span class="truncate" v-text="space.name" />
</AppLink>
</template>

0 comments on commit 26bc5ca

Please sign in to comment.