Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.

Commit

Permalink
fix: Add z-index to select menu buttons (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
nmkip0 authored Dec 28, 2021
1 parent ff6bb02 commit 8432c29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ki/tailwindui/select_menu.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
[hui/Listbox {:value selected-option :on-change set-selected-option!}
(fn [{:keys [open]}]
[:div {:class "mt-1 relative"}
[hui/ListboxButton {:css "relative w-full bg-white border border-gray-300 rounded-md shadow-sm pl-3 pr-10 py-2 text-left cursor-default focus:outline-none focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm"}
[hui/ListboxButton {:css "relative w-full bg-white border border-gray-300 rounded-md shadow-sm pl-3 pr-10 py-2 text-left cursor-default focus:outline-none focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm z-50"}
[:span {:className "block truncate"} (get selected-option text-selector)]
[:span {:className "absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none"}
[:> heroicons/SelectorIcon {:aria-hidden "true", :className "h-5 w-5 text-gray-400"}]]]
Expand Down

0 comments on commit 8432c29

Please sign in to comment.