File tree Expand file tree Collapse file tree 2 files changed +17
-6
lines changed
Expand file tree Collapse file tree 2 files changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ function openAuthModal() {
7777 :alt =" npmUser || $t('account_menu.npm_cli')"
7878 width =" 24"
7979 height =" 24"
80- class =" w-6 h-6 rounded-full ring-2 ring-bg"
80+ class =" w-6 h-6 rounded-full ring-2 ring-bg object-cover "
8181 />
8282 <span
8383 v-else-if =" isNpmConnected"
@@ -93,7 +93,7 @@ function openAuthModal() {
9393 :alt =" atprotoUser.handle"
9494 width =" 24"
9595 height =" 24"
96- class =" w-6 h-6 rounded-full ring-2 ring-bg"
96+ class =" w-6 h-6 rounded-full ring-2 ring-bg object-cover "
9797 :class =" hasBothConnections ? 'relative z-10' : ''"
9898 />
9999 <span
@@ -153,7 +153,7 @@ function openAuthModal() {
153153 :alt =" npmUser"
154154 width =" 32"
155155 height =" 32"
156- class =" w-8 h-8 rounded-full"
156+ class =" w-8 h-8 rounded-full object-cover "
157157 />
158158 <span
159159 v-else
@@ -196,7 +196,7 @@ function openAuthModal() {
196196 :alt =" atprotoUser.handle"
197197 width =" 32"
198198 height =" 32"
199- class =" w-8 h-8 rounded-full"
199+ class =" w-8 h-8 rounded-full object-cover "
200200 />
201201 <span
202202 v-else
Original file line number Diff line number Diff line change @@ -252,7 +252,7 @@ onUnmounted(deactivate)
252252 :alt =" npmUser"
253253 width =" 20"
254254 height =" 20"
255- class =" w-5 h-5 rounded-full"
255+ class =" w-5 h-5 rounded-full object-cover "
256256 />
257257 <span
258258 v-else
@@ -271,7 +271,18 @@ onUnmounted(deactivate)
271271 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"
272272 @click =" handleShowAuth"
273273 >
274- <span class =" w-5 h-5 rounded-full bg-bg-muted flex items-center justify-center" >
274+ <img
275+ v-if =" atprotoUser.avatar"
276+ :src =" atprotoUser.avatar"
277+ :alt =" atprotoUser.handle"
278+ width =" 20"
279+ height =" 20"
280+ class =" w-5 h-5 rounded-full object-cover"
281+ />
282+ <span
283+ v-else
284+ class =" w-5 h-5 rounded-full bg-bg-muted flex items-center justify-center"
285+ >
275286 <span class =" i-carbon-cloud w-3 h-3 text-fg-muted" aria-hidden =" true" />
276287 </span >
277288 <span class =" flex-1 truncate" >@{{ atprotoUser.handle }}</span >
You can’t perform that action at this time.
0 commit comments