mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-02-05 22:53:52 +01:00
chore(lighthouse): improve CommandPalette
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<li class="p-2">
|
<li class="p-2" role="option">
|
||||||
<h2 v-if="group[groupAttribute]" class="px-3 my-2 text-xs font-semibold u-text-gray-900">
|
<h2 v-if="group[groupAttribute]" class="px-3 my-2 text-xs font-semibold u-text-gray-900">
|
||||||
{{ group[groupAttribute] }}
|
{{ group[groupAttribute] }}
|
||||||
</h2>
|
</h2>
|
||||||
@@ -20,6 +20,7 @@
|
|||||||
v-else-if="command.avatar"
|
v-else-if="command.avatar"
|
||||||
v-bind="{ size: 'xxxs', ...command.avatar }"
|
v-bind="{ size: 'xxxs', ...command.avatar }"
|
||||||
class="flex-shrink-0"
|
class="flex-shrink-0"
|
||||||
|
aria-hidden="true"
|
||||||
/>
|
/>
|
||||||
<span v-else-if="command.chip" class="flex-shrink-0 w-2 h-2 mx-1 rounded-full" :style="{ background: `#${command.chip}` }" />
|
<span v-else-if="command.chip" class="flex-shrink-0 w-2 h-2 mx-1 rounded-full" :style="{ background: `#${command.chip}` }" />
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user