docs(landing): media query for mobile to fix formatting with flex style
This commit is contained in:
parent
e20f191429
commit
6be9523c2a
|
@ -208,3 +208,18 @@ table td {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@media handheld and (max-width: 480px), screen and (max-device-width: 480px), screen and (max-width: 600px) {
|
||||||
|
.docs-content .card-row {
|
||||||
|
&[layout="row"] {
|
||||||
|
-webkit-flex-direction: column;
|
||||||
|
-ms-flex-direction: column;
|
||||||
|
flex-direction: column;
|
||||||
|
& > div {
|
||||||
|
& > .card {
|
||||||
|
margin-left: 0;
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
@media handheld and (max-width: $phone-breakpoint),
|
@media handheld and (max-width: $phone-breakpoint),
|
||||||
screen and (max-device-width: $phone-breakpoint),
|
screen and (max-device-width: $phone-breakpoint),
|
||||||
screen and (max-width: $tablet-breakpoint) {
|
screen and (max-width: $tablet-breakpoint) {
|
||||||
padding: ($unit * 2) 0;
|
padding: ($unit * 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
&.is-centered {
|
&.is-centered {
|
||||||
|
|
Loading…
Reference in New Issue