Skip to content

Commit

Permalink
chore(CommandPalette): align chip and avatar size with icon
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed Jul 21, 2022
1 parent ce28b04 commit 024a591
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/runtime/components/navigation/CommandPaletteGroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
:src="command.avatar"
:alt="command[commandAttribute]"
:rounded="false"
size="xxxs"
size="xxs"
class="flex-shrink-0"
/>
<span v-else-if="command.chip" class="flex-shrink-0 w-2 h-2 rounded-full" :style="{ background: `#${command.chip}` }" />
<span v-else-if="command.chip" class="flex-shrink-0 w-2 h-2 mx-1.5 rounded-full" :style="{ background: `#${command.chip}` }" />

<div class="flex items-center flex-1 min-w-0 gap-1.5" :class="{ 'opacity-50': command.disabled }">
<slot :name="`${group.key}-command`" :group="group" :command="command">
Expand Down

0 comments on commit 024a591

Please sign in to comment.