Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions app/components/Header/AccountMenu.client.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function openAuthModal() {
:alt="npmUser || $t('account_menu.npm_cli')"
width="24"
height="24"
class="w-6 h-6 rounded-full ring-2 ring-bg"
class="w-6 h-6 rounded-full ring-2 ring-bg object-cover"
/>
<span
v-else-if="isNpmConnected"
Expand All @@ -93,7 +93,7 @@ function openAuthModal() {
:alt="atprotoUser.handle"
width="24"
height="24"
class="w-6 h-6 rounded-full ring-2 ring-bg"
class="w-6 h-6 rounded-full ring-2 ring-bg object-cover"
:class="hasBothConnections ? 'relative z-10' : ''"
/>
<span
Expand Down Expand Up @@ -153,7 +153,7 @@ function openAuthModal() {
:alt="npmUser"
width="32"
height="32"
class="w-8 h-8 rounded-full"
class="w-8 h-8 rounded-full object-cover"
/>
<span
v-else
Expand Down Expand Up @@ -196,7 +196,7 @@ function openAuthModal() {
:alt="atprotoUser.handle"
width="32"
height="32"
class="w-8 h-8 rounded-full"
class="w-8 h-8 rounded-full object-cover"
/>
<span
v-else
Expand Down
15 changes: 13 additions & 2 deletions app/components/Header/MobileMenu.client.vue
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ onUnmounted(deactivate)
:alt="npmUser"
width="20"
height="20"
class="w-5 h-5 rounded-full"
class="w-5 h-5 rounded-full object-cover"
/>
<span
v-else
Expand All @@ -262,7 +262,18 @@ onUnmounted(deactivate)
class="w-full flex items-center gap-3 px-3 py-3 rounded-md font-mono text-sm text-fg hover:bg-bg-subtle transition-colors duration-200 text-start"
@click="handleShowAuth"
>
<span class="w-5 h-5 rounded-full bg-bg-muted flex items-center justify-center">
<img
v-if="atprotoUser.avatar"
:src="atprotoUser.avatar"
:alt="atprotoUser.handle"
width="20"
height="20"
class="w-5 h-5 rounded-full object-cover"
/>
<span
v-else
class="w-5 h-5 rounded-full bg-bg-muted flex items-center justify-center"
>
<span class="i-carbon-cloud w-3 h-3 text-fg-muted" aria-hidden="true" />
</span>
<span class="flex-1 truncate">@{{ atprotoUser.handle }}</span>
Expand Down
Loading