Skip to content

Commit 2af5d15

Browse files
committed
remove fake underline entirely
1 parent 6878688 commit 2af5d15

3 files changed

Lines changed: 1 addition & 28 deletions

File tree

packages/theme/components/layout/heading-link/HeadingLink.module.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
text-decoration: none !important;
44
}
55

6-
.Heading__anchor::after {
7-
display: none;
8-
}
9-
106
.Heading__anchorIcon {
117
position: relative;
128
visibility: hidden;

packages/theme/components/layout/root-layout/Theme.module.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
.BreadcrumbRoot,
1414
.BreadcrumbItem {
15+
--fgColor-link: var(--brand-InlineLink-color-rest);
1516
color: var(--brand-InlineLink-color-rest);
1617
}
1718

@@ -24,12 +25,10 @@
2425
width: 100%;
2526
}
2627

27-
2828
.ActionsWrapper {
2929
padding-block-start: var(--base-size-16);
3030
}
3131

32-
3332
.RelatedLinks {
3433
padding-top: var(--base-size-20);
3534
}

packages/theme/css/prose.module.css

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -174,28 +174,6 @@
174174
.Prose a:-webkit-any-link:not(:global(.custom-component) a:-webkit-any-link) {
175175
color: var(--brand-InlineLink-color-rest);
176176
text-decoration: underline;
177-
position: relative;
178-
}
179-
180-
.Prose a:not(:global(.custom-component) a)::after {
181-
content: '';
182-
border-bottom: var(--brand-borderWidth-thin) solid var(--brand-InlineLink-color-rest);
183-
height: 0;
184-
transition: var(--brand-InlineLink-transition-timing) transform;
185-
transform: scaleY(var(--brand-InlineLink-transition-scale-start));
186-
transform-origin: 50% 100%;
187-
width: 100%;
188-
position: absolute;
189-
bottom: 0;
190-
left: 0;
191-
}
192-
193-
.Prose a:not(:global(.custom-component) a):hover::after {
194-
transform: scaleY(var(--brand-InlineLink-transition-scale-end));
195-
}
196-
197-
.Prose a:not(:global(.custom-component) a):active::after {
198-
border-color: var(--brand-InlineLink-color-pressed);
199177
}
200178

201179
.Prose code:not(:global(.custom-component) code) {

0 commit comments

Comments
 (0)