From: Nicolas Coden Date: Fri, 6 Jul 2018 20:40:18 +0000 (+0200) Subject: Use pull request #11382 from ncoden/docs/media-query-global-styles-notice-11374 for... X-Git-Tag: v6.5.0-rc.2^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41d01e52822d603e2584cb15fdf0c6699eb77ea7;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Use pull request #11382 from ncoden/docs/media-query-global-styles-notice-11374 for v6.5.0 deee05678 docs: add a notice about required CSS in Media Query doc cfcc36b82 docs: fix typo in Media Query warning about required CSS Signed-off-by: Nicolas Coden --- diff --git a/docs/pages/media-queries.md b/docs/pages/media-queries.md index ad2767f9b..cdb045df2 100644 --- a/docs/pages/media-queries.md +++ b/docs/pages/media-queries.md @@ -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. +
+ 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()`. +
+ Get the name of the current breakpoint with `MediaQuery.current`. ```js