Skip to content

Commit 061c0c1

Browse files
authored
Fix a regression in variant drop-down caused by missing z-index. (#2575)
1 parent 1ed18c0 commit 061c0c1

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/good-garlics-taste.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'gitbook': patch
3+
---
4+
5+
Fix a regression in variant drop-down caused by missing z-index.

packages/gitbook/src/components/Header/Dropdown.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ export function Dropdown<E extends HTMLElement>(props: {
4444
'absolute',
4545
'top-full',
4646
'left-0',
47+
'z-20',
4748
'origin-top-left',
4849
'invisible',
4950
'transition-opacity',

0 commit comments

Comments
 (0)