Skip to content
Snippets Groups Projects
Commit 9511c82f authored by Kevin Lin's avatar Kevin Lin :sparkles:
Browse files

_sass: Responsive module layout

parent 2cf31d18
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,11 @@
@extend .card;
.module-days {
grid-template-columns: 1fr 7fr;
grid-template-columns: 1fr 4fr;
@include mq(lg) {
grid-template-columns: 1fr 7fr;
}
}
}
......@@ -33,7 +37,11 @@
.module-day,
.module-event {
margin: 0;
padding: $sp-2 $sp-4;
padding: $sp-2;
@include mq(sm) {
padding: $sp-2 $sp-4;
}
&.main {
border-top: $border $border-color;
......@@ -46,7 +54,11 @@
p {
display: inline-block;
margin: 0;
width: 62.5%;
width: 100%;
@include mq(sm) {
width: 62.5%;
}
+p {
width: auto;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment