Skip to content

Commit 63d8ad6

Browse files
Underlinenav2: Add a z-index on the disclosure menu (#3200)
* Underlinenav2: Add a z-index on the disclosure menu * add changeset
1 parent c0cbdd0 commit 63d8ad6

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/few-papayas-brush.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@primer/react': patch
3+
---
4+
5+
UnderlineNav2: Add a z-index to make it appear on the top of the stack

src/UnderlineNav2/styles.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ export const menuItemStyles = {
147147

148148
export const menuStyles = {
149149
position: 'absolute',
150+
zIndex: 1,
150151
top: '90%',
151152
right: '0',
152153
boxShadow: '0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24)',

0 commit comments

Comments
 (0)