Skip to content

Commit 705d7d9

Browse files
committed
fix dropdown styling
1 parent 0a10a0b commit 705d7d9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

frontend/src/components/ui/multi-select-dropdown.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export const MultiSelectDropdown: React.FC<MultiSelectDropdownProps> = ({
5151
};
5252

5353
return (
54-
<Box position="relative" w="full" ref={dropdownRef} zIndex={1}>
54+
<Box position="relative" w="full" ref={dropdownRef}>
5555
<button
5656
type="button"
5757
onClick={() => setIsOpen(!isOpen)}
@@ -149,7 +149,7 @@ export const MultiSelectDropdown: React.FC<MultiSelectDropdownProps> = ({
149149
border="1px solid #d1d5db"
150150
borderRadius="6px"
151151
boxShadow="0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)"
152-
zIndex={1000}
152+
zIndex={9999}
153153
>
154154
{options.map((option) => {
155155
const isSelected = selectedValues.includes(option);

frontend/src/components/ui/single-select-dropdown.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export const SingleSelectDropdown: React.FC<SingleSelectDropdownProps> = ({
4848
};
4949

5050
return (
51-
<Box position="relative" w="full" ref={dropdownRef} zIndex={1}>
51+
<Box position="relative" w="full" ref={dropdownRef}>
5252
<button
5353
type="button"
5454
onClick={() => setIsOpen(!isOpen)}
@@ -143,7 +143,7 @@ export const SingleSelectDropdown: React.FC<SingleSelectDropdownProps> = ({
143143
border="1px solid #d1d5db"
144144
borderRadius="6px"
145145
boxShadow="0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)"
146-
zIndex={1000}
146+
zIndex={9999}
147147
>
148148
{options.map((option) => (
149149
<Box

0 commit comments

Comments
 (0)