diff --git a/style.css b/style.css index 21f5ca7..9fc6da0 100644 --- a/style.css +++ b/style.css @@ -245,6 +245,9 @@ blockquote > * + * { } .grid-list { - grid-template-columns: 1fr 1fr; + grid-template-columns: repeat( + auto-fit, + minmax(calc((100% - 1em) / 2), 1fr) + ); } } diff --git a/tap-snapshots/test/render.js.test.cjs b/tap-snapshots/test/render.js.test.cjs index bb948ef..768b047 100644 --- a/tap-snapshots/test/render.js.test.cjs +++ b/tap-snapshots/test/render.js.test.cjs @@ -261,7 +261,10 @@ blockquote > * + * { } .grid-list { - grid-template-columns: 1fr 1fr; + grid-template-columns: repeat( + auto-fit, + minmax(calc((100% - 1em) / 2), 1fr) + ); } }