From 42c33c00f925056bb7dae3f3ce9a4bc74e49b72e Mon Sep 17 00:00:00 2001 From: Michael Cheung Date: Tue, 13 Nov 2018 09:01:19 +0000 Subject: [PATCH] [refs #138] Minor performance improvement to footer logo elements Add child combinator selectors for logo link and visually hidden span --- packages/components/footer/_footer.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/components/footer/_footer.scss b/packages/components/footer/_footer.scss index 4658694c7..76db57af8 100644 --- a/packages/components/footer/_footer.scss +++ b/packages/components/footer/_footer.scss @@ -24,12 +24,12 @@ padding-bottom: nhsuk-spacing(0); } - a { + > a { display: block; height: 40px; width: 99px; - .nhsuk-u-visually-hidden { + > .nhsuk-u-visually-hidden { top: -9999px; // Moves outline on iOS off screen }