Skip to content

Commit

Permalink
Bump up custom select menu z-index
Browse files Browse the repository at this point in the history
  • Loading branch information
rawilk committed Mar 31, 2023
1 parent 3a1469c commit 7c4bd87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion resources/css/custom-select.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
.custom-select__menu {
@apply absolute
mt-2
z-10
z-[--custom-select-menu-z-index]
origin-top-right
max-w-full
w-full
Expand Down
1 change: 1 addition & 0 deletions resources/css/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
--custom-select-selected-icon-color: theme('colors.green.500');
--custom-select-selected-icon-hover-color: theme('colors.green.600');
--custom-select-search-border-color: theme('colors.slate.300');
--custom-select-menu-z-index: 30;

--custom-select-dark-menu-color: theme('colors.slate.400');
--custom-select-dark-menu-bg: theme('colors.slate.700');
Expand Down

0 comments on commit 7c4bd87

Please sign in to comment.