Skip to content

Commit 96c4b48

Browse files
authored
add new line of CSS to separate underline from hover event (#6113)
1 parent 6df6cbf commit 96c4b48

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/clean-dolls-build.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+
add new line of CSS to separate underline from hover event

packages/react/src/internal/components/UnderlineTabbedInterface.module.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@
105105
bottom: calc(50% - calc(var(--control-xlarge-size, var(--base-size-48)) / 2 + 1px));
106106
width: 100%;
107107
height: 2px;
108+
pointer-events: none;
108109
content: '';
109110
background-color: transparent;
110111
border-radius: 0;

0 commit comments

Comments
 (0)