From f06426f57a04b2603643968ace288550362c3ed4 Mon Sep 17 00:00:00 2001 From: Andrew Hosgood Date: Thu, 21 Sep 2023 17:11:20 +0100 Subject: [PATCH] Allow links in headings to not have a chevron --- .../utilities/_typography.scss | 24 ++++++++++--------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/src/nationalarchives/utilities/_typography.scss b/src/nationalarchives/utilities/_typography.scss index 1c8f97da..3f9c7290 100644 --- a/src/nationalarchives/utilities/_typography.scss +++ b/src/nationalarchives/utilities/_typography.scss @@ -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; + } } } }