|
8 | 8 | // PascalCase is being used as Breakpoints is used like an enum.
|
9 | 9 | // tslint:disable-next-line:variable-name
|
10 | 10 | export const Breakpoints = {
|
11 |
| - XSmall: '(max-width: 599px)', |
12 |
| - Small: '(min-width: 600px) and (max-width: 959px)', |
13 |
| - Medium: '(min-width: 960px) and (max-width: 1279px)', |
14 |
| - Large: '(min-width: 1280px) and (max-width: 1919px)', |
| 11 | + XSmall: '(max-width: 599.99px)', |
| 12 | + Small: '(min-width: 600px) and (max-width: 959.99px)', |
| 13 | + Medium: '(min-width: 960px) and (max-width: 1279.99px)', |
| 14 | + Large: '(min-width: 1280px) and (max-width: 1919.99px)', |
15 | 15 | XLarge: '(min-width: 1920px)',
|
16 | 16 |
|
17 |
| - Handset: '(max-width: 599px) and (orientation: portrait), ' + |
18 |
| - '(max-width: 959px) and (orientation: landscape)', |
19 |
| - Tablet: '(min-width: 600px) and (max-width: 839px) and (orientation: portrait), ' + |
20 |
| - '(min-width: 960px) and (max-width: 1279px) and (orientation: landscape)', |
| 17 | + Handset: '(max-width: 599.99px) and (orientation: portrait), ' + |
| 18 | + '(max-width: 959.99px) and (orientation: landscape)', |
| 19 | + Tablet: '(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait), ' + |
| 20 | + '(min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)', |
21 | 21 | Web: '(min-width: 840px) and (orientation: portrait), ' +
|
22 | 22 | '(min-width: 1280px) and (orientation: landscape)',
|
23 | 23 |
|
24 |
| - HandsetPortrait: '(max-width: 599px) and (orientation: portrait)', |
25 |
| - TabletPortrait: '(min-width: 600px) and (max-width: 839px) and (orientation: portrait)', |
| 24 | + HandsetPortrait: '(max-width: 599.99px) and (orientation: portrait)', |
| 25 | + TabletPortrait: '(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait)', |
26 | 26 | WebPortrait: '(min-width: 840px) and (orientation: portrait)',
|
27 | 27 |
|
28 |
| - HandsetLandscape: '(max-width: 959px) and (orientation: landscape)', |
29 |
| - TabletLandscape: '(min-width: 960px) and (max-width: 1279px) and (orientation: landscape)', |
| 28 | + HandsetLandscape: '(max-width: 959.99px) and (orientation: landscape)', |
| 29 | + TabletLandscape: '(min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)', |
30 | 30 | WebLandscape: '(min-width: 1280px) and (orientation: landscape)',
|
31 | 31 | };
|
0 commit comments