Skip to content

Commit

Permalink
[refs #138] Minor performance improvement to footer logo elements
Browse files Browse the repository at this point in the history
Add child combinator selectors for logo link and visually hidden span
  • Loading branch information
mcheung-nhs committed Nov 13, 2018
1 parent e637fc1 commit 42c33c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/components/footer/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 42c33c0

Please sign in to comment.