fix: resolve bot styling issue (#375)

This commit is contained in:
Quincy
2026-04-14 22:31:30 +08:00
committed by GitHub
parent 5382c3cd27
commit 7cc7b959e2
11 changed files with 39 additions and 59 deletions
@@ -35,12 +35,13 @@
</div>
<button
v-for="option in group.items"
:key="option.value"
type="button"
role="option"
:aria-selected="modelValue === option.value"
class="relative flex w-full cursor-pointer items-center gap-2 rounded-md px-2 py-1.5 text-xs outline-none hover:bg-accent hover:text-accent-foreground"
class="relative flex w-full cursor-pointer items-center gap-2 rounded-md px-2 py-1.5 text-xs outline-none hover:bg-accent hover:text-accent-foreground [&_+button]:mt-1"
:class="{ 'bg-accent': modelValue === option.value }"
@click="$emit('update:modelValue', option.value)"
>