Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust multi select filter width #44

Merged
merged 2 commits into from
Jan 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion demo/lib/demo_web/live/home_live/index.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
<.link navigate="/admin/users" class="mr-6">
<button class="btn btn-primary">View Demo</button>
</.link>
<.link href="https://hexdocs.pm/backpex" class="text-sm font-semibold leading-6 text-gray-900 hover:underline">Documentation</.link>
<.link href="https://hexdocs.pm/backpex" class="text-sm font-semibold leading-6 text-gray-900 hover:underline">
Documentation
</.link>
<Heroicons.arrow_right class="ml-2 h-4 w-4" />
</div>
<div :if={not @form_hidden?} class="bg-white py-8 sm:py-12 lg:py-16">
Expand Down
2 changes: 1 addition & 1 deletion lib/backpex/filters/multi_select.ex
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ defmodule Backpex.Filters.MultiSelect do
</div>
<ul
tabindex="0"
class="dropdown-content z-[1] menu bg-base-100 rounded-box max-h-96 w-60 overflow-y-auto p-2 shadow"
class="dropdown-content z-[1] menu bg-base-100 rounded-box min-w-60 max-h-96 w-max overflow-y-auto p-2 shadow"
x-show="open"
@click.outside="open = false"
>
Expand Down
Loading