We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 537b7c0 commit 05998f5Copy full SHA for 05998f5
lib/ruby_ui/combobox/combobox_item.rb
@@ -11,7 +11,7 @@ def view_template(&)
11
def default_attrs
12
{
13
class: [
14
- "flex flex-row w-full text-wrap truncate gap-2 items-center rounded-sm px-2 py-1.5 text-sm outline-none cursor-pointer",
+ "flex flex-row w-full text-wrap [&>span,&>div]:truncate gap-2 items-center rounded-sm px-2 py-1 text-sm outline-none cursor-pointer",
15
"select-none has-[:checked]:bg-accent hover:bg-accent p-2",
16
"[&>svg]:pointer-events-none [&>svg]:size-4 [&>svg]:shrink-0 aria-[current=true]:bg-accent aria-[current=true]:ring aria-[current=true]:ring-offset-2"
17
],
0 commit comments