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

fix($mdConstant): fix overlapping in media-queries #3451

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/core/util/constant.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ function MdConstantFactory($$rAF, $sniffer) {
ANIMATION_DIRECTION: vendorProperty('animationDirection')
},
MEDIA: {
'sm': '(max-width: 600px)',
'sm': '(max-width: 599px)',
'gt-sm': '(min-width: 600px)',
'md': '(min-width: 600px) and (max-width: 960px)',
'md': '(min-width: 600px) and (max-width: 959px)',
'gt-md': '(min-width: 960px)',
'lg': '(min-width: 960px) and (max-width: 1200px)',
'lg': '(min-width: 960px) and (max-width: 1199px)',
'gt-lg': '(min-width: 1200px)'
},
MEDIA_PRIORITY: [
Expand Down