Commit 387b80a8 authored by Jonas Sulzer's avatar Jonas Sulzer Committed by Antoine Fontaine
Browse files

馃悰 FIX: horizontal scroll on narrow/small screens


Signed-off-by: Jonas Sulzer's avatarJonas Sulzer <jonas@violoncello.ch>
parent 688cad48
Pipeline #2410 passed with stages
in 28 seconds
......@@ -44,7 +44,11 @@ a {
.small-pictures {
display: grid;
gap: 0.5em;
grid-template-columns: repeat(auto-fill, minmax(16em, 1fr));
grid-template-columns: repeat(1, minmax(0, 1fr));
@media (min-width: 800px) {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
a {
/* avoid sizing bug */
......@@ -66,4 +70,4 @@ a {
width: 100%;
box-shadow: 0px 0px 0.3em rgba(0, 0, 0, 0.2);
border-radius: 10px;
}
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment