Skip to content

Commit

Permalink
Underlinenav2: Add a z-index on the disclosure menu (#3200)
Browse files Browse the repository at this point in the history
* Underlinenav2: Add a z-index on the disclosure menu

* add changeset
  • Loading branch information
broccolinisoup committed May 2, 2023
1 parent c0cbdd0 commit 63d8ad6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/few-papayas-brush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/react': patch
---

UnderlineNav2: Add a z-index to make it appear on the top of the stack
1 change: 1 addition & 0 deletions src/UnderlineNav2/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ export const menuItemStyles = {

export const menuStyles = {
position: 'absolute',
zIndex: 1,
top: '90%',
right: '0',
boxShadow: '0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24)',
Expand Down

0 comments on commit 63d8ad6

Please sign in to comment.