Skip to content

Commit

Permalink
Add fix for chrome bug with font-size-adjust
Browse files Browse the repository at this point in the history
Chrome seems to be increasing the font slightly
when `font-size-adjust` is set (which we have been
doing since this change to the govuk frontend
toollkit:

alphagov/govuk_frontend_toolkit#271

The grid used for `.footer-meta` sets its columns
to `display: inline-block' (to have more control
over the vertical spacing) which can mean their
horizontal spacing is effected by changes to how
lines of content are rendered. It seems having
`font-size-adjust` set is increasing the
horizontal spacing of the line on which they sit,
meaning they can no longer git on it.
  • Loading branch information
tombye committed Jun 13, 2016
1 parent bbcb1fc commit d9dd24d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/assets/scss/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@
@include media(tablet) {
padding: 0;
}
/* Temporary fix:
chrome is breaking this layout when font-size-adjust is set */
font-size-adjust: none;
}

0 comments on commit d9dd24d

Please sign in to comment.