Skip to content

Commit

Permalink
fix: min width of open dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdanchi authored Sep 20, 2023
2 parents 6b19525 + 44873d3 commit 1ce8522
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/moon/components/select/multi_select.ex
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ defmodule Moon.Components.Select.MultiSelect do
<TopToDown>
<div class={
"overflow-auto rounded-moon-i-md box-border border border-solid",
"border-beerus min-w-full min-h-[20px] max-h-[200px] drop-shadow-2xl",
"border-beerus min-h-[20px] max-h-[200px] drop-shadow-2xl",
"#{@search_min_width}": not is_nil(@on_search_change)
}>
<Dropdown
Expand Down
2 changes: 1 addition & 1 deletion lib/moon/components/select/single_select.ex
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ defmodule Moon.Components.Select.SingleSelect do
<TopToDown>
<div class={
"overflow-auto rounded-moon-i-md box-border border border-solid",
"border-beerus min-w-full min-h-[20px] max-h-[200px] drop-shadow-2xl",
"border-beerus min-h-[20px] max-h-[200px] drop-shadow-2xl",
"#{@search_min_width}": not is_nil(@on_search_change)
}>
<Dropdown
Expand Down

0 comments on commit 1ce8522

Please sign in to comment.