Add options for responsive grid gap
This commit is contained in:
parent
6b63e34d64
commit
cef1e48d14
@ -16,4 +16,6 @@
|
||||
.grid-mobile-1 { grid-template-columns: 1fr }
|
||||
.grid-mobile-2 { grid-template-columns: 1fr 1fr }
|
||||
.grid-mobile-3 { grid-template-columns: 1fr 1fr 1fr }
|
||||
|
||||
.grid-mobile-gap-1 { gap: 1em }
|
||||
}
|
||||
|
@ -52,11 +52,6 @@
|
||||
}
|
||||
|
||||
@media only screen and (max-width: $width-mobile) {
|
||||
.personnel .grid {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 1em;
|
||||
}
|
||||
|
||||
.personnel .person img {
|
||||
margin-bottom: .5em;
|
||||
}
|
||||
|
@ -10,7 +10,7 @@
|
||||
<div id="1" class="button" data-value="1">1. Běh</div>
|
||||
<div id="3" class="button" data-value="3">3. Běh</div>
|
||||
</div>
|
||||
<div class="grid grid-5 gap-3">
|
||||
<div class="grid grid-5 gap-3 grid-mobile-2 grid-mobile-gap-1">
|
||||
{{ macros::personnel() }}
|
||||
</div>
|
||||
</section>
|
||||
|
Loading…
Reference in New Issue
Block a user