mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
chore(CommandPalette): align chip and avatar size with icon
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user