mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-02-01 04:37:57 +01:00
chore(CommandPalette): align chip and avatar size with icon
This commit is contained in:
@@ -21,10 +21,10 @@
|
|||||||
:src="command.avatar"
|
:src="command.avatar"
|
||||||
:alt="command[commandAttribute]"
|
:alt="command[commandAttribute]"
|
||||||
:rounded="false"
|
:rounded="false"
|
||||||
size="xxxs"
|
size="xxs"
|
||||||
class="flex-shrink-0"
|
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 }">
|
<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">
|
<slot :name="`${group.key}-command`" :group="group" :command="command">
|
||||||
|
|||||||
Reference in New Issue
Block a user