We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec0231e commit bbb14ceCopy full SHA for bbb14ce
.changeset/gentle-bulldogs-live.md
@@ -0,0 +1,5 @@
1
+---
2
+'@primer/react-brand': patch
3
4
+
5
+Updated `Link` underline to fill entire width
packages/react/src/Link/Link.module.css
@@ -1,4 +1,5 @@
.Link {
+ --arrow-width: var(--base-size-20);
position: relative;
display: inline-flex;
align-items: center;
@@ -16,7 +17,7 @@
16
17
position: absolute;
18
bottom: -0.15em;
19
left: 0;
- width: calc(100% - 1.5em);
20
+ width: calc(100% - var(--arrow-width));
21
height: 2px;
22
pointer-events: none;
23
content: '';
@@ -65,8 +66,8 @@
65
66
}
67
68
.Link--large .Link-arrow {
- width: 20px;
69
- height: 20px;
+ width: var(--arrow-width);
70
+ height: var(--base-size-20);
71
72
73
.Link--arrow-start::after {
0 commit comments