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 10, 2016
1 parent d09245b commit 7e3057a
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 @@ -80,6 +80,9 @@
@include media(tablet) {
padding: 0;
}
/* Temporary fix:
chrome is breaking this layout when font-size-adjust is set */
font-size-adjust: none;

.terms-and-conditions {
display: block;
Expand Down

0 comments on commit 7e3057a

Please sign in to comment.