-
Notifications
You must be signed in to change notification settings - Fork 327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix container not being centered in IE8 #1147
Conversation
e5788c6
to
101903a
Compare
722c9d4
to
9754239
Compare
9754239
to
869ded1
Compare
869ded1
to
33691f0
Compare
I tried to reorder the CSS desktop first but SassMQ smushes 'desktop' media queries into the output CSS which stops that from working... In the future if we decide to drop IE8 we might consider changing this to be desktop first and avoid that behaviour in sass mq |
33691f0
to
9172433
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
src/objects/_width-container.scss
Outdated
// On mobile, add half width gutters | ||
margin: 0 $govuk-gutter-half; | ||
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unintentional whitespace changes?
9172433
to
acec7fc
Compare
Since the header and the footer component use this container it also fixes centering for these components.
acec7fc
to
52f3ac5
Compare
This allows browsers that do not support media queries to be centered without a separate stylesheet.
Since the header and the footer component use this container it also fixes centering for these components.
Fixes #1145
Screenshots
Before
After