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

Commit c43b1a3

Browse files
devversionThomasBurleson
authored andcommitted
fix(whiteframe): update breakpoints in whiteframe class demo
Use the same breakpoints as in attribute demo. This changes the breakpoints to the current layout breakpoints. And annotated the media queries with the given breakpoint.
1 parent 8111546 commit c43b1a3

File tree

1 file changed

+11
-4
lines changed
  • src/components/whiteframe/demoBasicClassUsage

1 file changed

+11
-4
lines changed

src/components/whiteframe/demoBasicClassUsage/style.css

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ md-whiteframe {
33
margin: 30px;
44
height: 100px;
55
}
6-
@media screen and (max-width: 599px) {
6+
7+
/* For breakpoint `-xs` */
8+
@media (max-width: 599px) {
79
md-whiteframe {
810
margin: 7px;
911
height: 50px;
@@ -13,7 +15,9 @@ md-whiteframe {
1315
font-size: 0.4em;
1416
}
1517
}
16-
@media screen and (min-width: 600px ) and (max-width: 959px) {
18+
19+
/* For breakpoint `-sm` */
20+
@media (min-width: 600px ) and (max-width: 959px) {
1721
md-whiteframe {
1822
margin: 20px;
1923
height: 75px;
@@ -22,7 +26,9 @@ md-whiteframe {
2226
font-size: 0.6em;
2327
}
2428
}
25-
@media screen and (min-width: 960px ) and (max-width: 1199px) {
29+
30+
/* For breakpoint `-md` */
31+
@media (min-width: 960px ) and (max-width: 1279px) {
2632
md-whiteframe {
2733
margin: 20px;
2834
height: 90px;
@@ -33,7 +39,8 @@ md-whiteframe {
3339
}
3440
}
3541

36-
@media screen and (min-width: 1200px) {
42+
/* For breakpoint `-gt-md` */
43+
@media (min-width: 1280px) {
3744
md-whiteframe {
3845
margin: 25px;
3946
height: 100px;

0 commit comments

Comments
 (0)