]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Add breakpoints to defaultQueries: small, medium, large, xlarge, and xxlarge
authorMerlin Patterson <merlinpatt@users.noreply.github.com>
Thu, 18 Feb 2016 13:48:05 +0000 (08:48 -0500)
committerMerlin Patterson <merlinpatt@users.noreply.github.com>
Thu, 18 Feb 2016 13:48:05 +0000 (08:48 -0500)
js/foundation.util.mediaQuery.js

index 6175b13af963118174d017b8d0593396a354c9f6..e76cb25fea651c6338ef829ab0765a90072ff8a9 100644 (file)
@@ -4,6 +4,11 @@
 
 // Default set of media queries
 const defaultQueries = {
+  small : 'only screen and (min-width: 0em)',
+  medium : 'only screen and (min-width: 40em)',
+  large : 'only screen and (min-width: 64em)',
+  xlarge : 'only screen and (min-width: 75em)',
+  xxlarge : 'only screen and (min-width: 90em)',
   'default' : 'only screen',
   landscape : 'only screen and (orientation: landscape)',
   portrait : 'only screen and (orientation: portrait)',