From 8bce791b03d8a98c2d6ea6311b8567a9480a5656 Mon Sep 17 00:00:00 2001 From: Jean Pierry Date: Tue, 19 Aug 2025 13:18:38 -0300 Subject: [PATCH] FIX Combobox height --- lib/ruby_ui/combobox/combobox_search_input.rb | 2 +- lib/ruby_ui/combobox/combobox_trigger.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ruby_ui/combobox/combobox_search_input.rb b/lib/ruby_ui/combobox/combobox_search_input.rb index 6515668c..e22a0763 100644 --- a/lib/ruby_ui/combobox/combobox_search_input.rb +++ b/lib/ruby_ui/combobox/combobox_search_input.rb @@ -25,7 +25,7 @@ def default_attrs spellcheck: "false", placeholder: @placeholder, class: [ - "flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none border-none", + "flex h-9 w-full rounded-md bg-transparent py-3 text-sm outline-none border-none", "focus:ring-0", "placeholder:text-muted-foreground", "disabled:cursor-not-allowed disabled:opacity-50", diff --git a/lib/ruby_ui/combobox/combobox_trigger.rb b/lib/ruby_ui/combobox/combobox_trigger.rb index be32a761..09072cd6 100644 --- a/lib/ruby_ui/combobox/combobox_trigger.rb +++ b/lib/ruby_ui/combobox/combobox_trigger.rb @@ -22,7 +22,7 @@ def default_attrs { type: "button", class: [ - "flex h-full w-full items-center whitespace-nowrap rounded-md text-sm ring-offset-background transition-colors border border-input bg-background h-10 px-4 py-2 justify-between", + "flex h-full w-full items-center whitespace-nowrap rounded-md text-sm ring-offset-background transition-colors border border-input bg-background h-9 px-4 py-2 justify-between", "hover:bg-accent hover:text-accent-foreground", "disabled:pointer-events-none disabled:opacity-50", "aria-disabled:pointer-events-none aria-disabled:opacity-50 aria-disabled:cursor-not-allowed",