[Fix] breakpoint for schedule section is different

keep padding size consistent
This commit is contained in:
Tony Yang 2021-01-20 20:08:50 +08:00
parent 72756e993b
commit 59be38e73e
Signed by: t510599
GPG Key ID: D88388851C28715D

View File

@ -90,6 +90,20 @@
}
@include md {
#news-schedule {
#presentation-example,
#espresso-example {
margin-bottom: unset;
.agenda.card.container {
grid-template-columns: repeat(2, 1fr);
column-gap: 42px;
row-gap: 30px;
}
}
}
}
@media screen and (max-width: $max-width-small-0) {
#news-schedule {
max-width: 100vw;
padding: 0 40px;
@ -119,15 +133,5 @@
#theme-example ~ p {
padding: 15px 0;
}
#presentation-example,
#espresso-example {
margin-bottom: unset;
.agenda.card.container {
grid-template-columns: repeat(2, 1fr);
column-gap: 42px;
row-gap: 30px;
}
}
}
}