-
Notifications
You must be signed in to change notification settings - Fork 64
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
@max-page-width variable is ignored for .page element #493
Comments
@guywillis Any thoughts on this? |
@swashbuck The preference at time of implementation was to plumb the container into core to match the rest of core Adapt but have the override in Vanilla so the visual impression is that Adapt goes to the edge of the screen but that it could be reverted with a small deletion of CSS. |
@guywillis Would it make sense to remove the |
Makes a lot of sense to me |
Thanks, @guywillis . I've created PR #494 for this. Question: do we still need the |
I believe it is in to support those updating from older versions of the theme - backward compatibility. |
🎉 This issue has been resolved in version 9.15.3 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Subject of the issue
The max-width of
.page
should be using the@max-page-width
value. Instead, the Vanilla theme is overriding this with amax-width: inherit
style.Is this intentional? If not, should we remove the
max-width: inherit
style?Your environment
To reproduce
In your theme's CSS:
Expected results
Blue body background color is visible on the sides.
Actual results
Entire page is white because
.page
is the full window width and does not use@max-page-width
.The text was updated successfully, but these errors were encountered: