Skip to content

Commit 58b2f8b

Browse files
authored
fix(dropdown): fix zindex of DropdownButton (#283)
1 parent f055f54 commit 58b2f8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/dropdown-button/styles.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ export default {
22
container: {
33
position: 'relative',
44
cursor: 'pointer',
5-
zIndex: 5,
65
marginTop: '-2px',
76
width: 'fit-content',
87
},
98
dropdown: (height: number | undefined, alignLeft: boolean) => ({
109
position: 'absolute',
1110
top: `${height}px`,
11+
zIndex: 5,
1212
...(alignLeft
1313
? {
1414
right: '0px',

0 commit comments

Comments
 (0)