-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
docs: add a notice about required CSS in Media Query doc #11382
docs: add a notice about required CSS in Media Query doc #11382
Conversation
Partially resolve foundation#11374
docs/pages/media-queries.md
Outdated
@@ -187,6 +187,10 @@ This can be used to combine multiple media queries together. | |||
|
|||
The Foundation JavaScript includes a set of helper functions for working with media queries. They're all on the `Foundation.MediaQuery` object. | |||
|
|||
<div class="callout warning"> | |||
The MediaQuery utility uses the Sass breakpoints settings and require the Foundation CSS to be imported. For Sass users, you need to include either `foundation-everything()` or `foundation-global-styles()`. |
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.
The MediaQuery utility uses the Sass breakpoint settings and requires the Foundation CSS to be imported. For Sass users, you need to include either foundation-everything()
or foundation-global-styles()
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.
Thank you
@DanielRuf I fixed the typo. |
…-styles-notice-11374 for v6.5.0 deee056 docs: add a notice about required CSS in Media Query doc cfcc36b docs: fix typo in Media Query warning about required CSS Signed-off-by: Nicolas Coden <[email protected]>
…-styles-notice-11374 for v6.5.0 deee056 docs: add a notice about required CSS in Media Query doc cfcc36b docs: fix typo in Media Query warning about required CSS Signed-off-by: Nicolas Coden <[email protected]>
Description
Add a message in the Media Query documentation to warn that the
MediaQuery
helper require@foundation-global-styles()
to have been called.Partially resolve #11374
Types of changes
functionality to change)
Checklist (all required):
develop
orsupport/*
).I have added tests to cover my changes (if relevant).