Fix Compound Link elements not having an underline. (#31583)

* Do not alter text-decoration if an <a> tag is a Link.

* Update screenshots

* update compound web to 8.3.4

* Update snaps

* Update alllllll the snaps

* update screenshots
This commit is contained in:
Will Hunt
2026-01-05 09:27:00 +00:00
committed by GitHub
parent 7398a83ae4
commit cf7bf71d01
42 changed files with 394 additions and 387 deletions
+11 -4
View File
@@ -8,8 +8,15 @@
background-color: transparent !important;
}
a:hover,
a:link,
a:visited {
text-decoration: none;
/*
data-kind is used by the Compound <Link> component and therefore does not override them.
This is horrible, but will get less horrible when links in the app are replaced with
<Link>.
*/
a:not([data-kind]) {
&:hover,
&:link,
&:visited {
text-decoration: none;
}
}