Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 61a0e53

Browse files
gkalpakThomasBurleson
authored andcommitted
fix($mdConstant): fix overlapping in media-queries
Fixes #3423. Closes #3451.
1 parent a161013 commit 61a0e53

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/core/util/constant.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ function MdConstantFactory($$rAF, $sniffer) {
3737
ANIMATION_DIRECTION: vendorProperty('animationDirection')
3838
},
3939
MEDIA: {
40-
'sm': '(max-width: 600px)',
40+
'sm': '(max-width: 599px)',
4141
'gt-sm': '(min-width: 600px)',
42-
'md': '(min-width: 600px) and (max-width: 960px)',
42+
'md': '(min-width: 600px) and (max-width: 959px)',
4343
'gt-md': '(min-width: 960px)',
44-
'lg': '(min-width: 960px) and (max-width: 1200px)',
44+
'lg': '(min-width: 960px) and (max-width: 1199px)',
4545
'gt-lg': '(min-width: 1200px)'
4646
},
4747
MEDIA_PRIORITY: [

0 commit comments

Comments
 (0)