Skip to content

Commit

Permalink
fix: aspect ratio for avatars on search results
Browse files Browse the repository at this point in the history
  • Loading branch information
patak-dev committed Jan 1, 2023
1 parent 17feceb commit 9b33c7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/account/AccountInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ defineOptions({
<!-- This is sometimes (like in the sidebar) used directly as a button, and sometimes, like in follow notifications, as a link. I think this component may need a second refactor that either lets an implementation pass in a link or an action and adapt to what's passed in, or the implementations need to be updated to wrap in the action they want to take and this be just the layout for these items -->
<template>
<component :is="as" flex gap-3 v-bind="$attrs">
<AccountHoverWrapper :disabled="!hoverCard" :account="account" shrink-0>
<AccountBigAvatar :account="account" />
<AccountHoverWrapper :disabled="!hoverCard" :account="account">
<AccountBigAvatar :account="account" shrink-0 />
</AccountHoverWrapper>
<div flex="~ col" shrink overflow-hidden justify-center leading-none>
<div flex="~" gap-2>
Expand Down

0 comments on commit 9b33c7c

Please sign in to comment.