Skip to content

Commit

Permalink
Allow links in headings to not have a chevron
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Sep 21, 2023
1 parent 90e64c2 commit f06426f
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions src/nationalarchives/utilities/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -327,22 +327,24 @@ small {

text-wrap: balance;

a {
display: inline-block;
&:not(.tna-heading--no-link-arrow) {
a {
display: inline-block;

&::after {
padding-left: 0.25rem;
&::after {
padding-left: 0.25rem;

display: inline-block;
display: inline-block;

font-weight: 700;
font-weight: 700;

content: "\203A";
}
content: "\203A";
}

&:hover {
&::after {
padding-left: 0.5rem;
&:hover {
&::after {
padding-left: 0.5rem;
}
}
}
}
Expand Down

0 comments on commit f06426f

Please sign in to comment.