mirror of
https://github.com/danbee/danbarber.me
synced 2025-03-04 08:59:10 +00:00
Add 2 column mode for smaller screens
This commit is contained in:
parent
e6c47f3cb2
commit
24e163f478
@ -2,8 +2,12 @@
|
|||||||
@include container;
|
@include container;
|
||||||
|
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(3, 1fr);
|
grid-template-columns: repeat(2, 1fr);
|
||||||
grid-gap: 1rem;
|
grid-gap: 0.65rem 1rem;
|
||||||
|
|
||||||
|
@media only screen and (min-width: 640px) {
|
||||||
|
grid-template-columns: repeat(3, 1fr);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.photo-thumb {
|
.photo-thumb {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user