Visitar URL original
Merge pull request #5112 from uswds/cm-nested-anchor-bttn · uswds/uswds@d1c739b · GitHub
Skip to content

Commit d1c739b

Browse files
authored
Merge pull request #5112 from uswds/cm-nested-anchor-bttn
USWDS - Links: Fix invisible text when styled as buttons within forms. Resolves #5066
2 parents 57db4f9 + f61ba8c commit d1c739b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎packages/usa-form/src/styles/_usa-form.scss‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@
6060
}
6161
}
6262

63-
a {
63+
// Avoids links styled as buttons
64+
a:where(:not(.usa-button)) {
6465
@include typeset-link;
6566
}
6667
}

0 commit comments

Comments
 (0)