Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

Commit 7c4bd87

Browse files
committed
Bump up custom select menu z-index
1 parent 3a1469c commit 7c4bd87

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

resources/css/custom-select.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
.custom-select__menu {
7878
@apply absolute
7979
mt-2
80-
z-10
80+
z-[--custom-select-menu-z-index]
8181
origin-top-right
8282
max-w-full
8383
w-full

resources/css/variables.css

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
--custom-select-selected-icon-color: theme('colors.green.500');
5454
--custom-select-selected-icon-hover-color: theme('colors.green.600');
5555
--custom-select-search-border-color: theme('colors.slate.300');
56+
--custom-select-menu-z-index: 30;
5657

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

0 commit comments

Comments
 (0)