Skip to content

Commit

Permalink
Fix header SVG rounding issues in Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrotherham committed Nov 3, 2023
1 parent 2b22c1d commit fb22990
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@
position: relative;
top: -3px;

// Fix for Firefox SVG rounding
@-moz-document url-prefix() {
top: -2.5px;
}

// Add a gap after the logo in case it's followed by a product name. This
// gets removed later if the logotype is a :last-child.
margin-right: govuk-spacing(1);
Expand Down

0 comments on commit fb22990

Please sign in to comment.