summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2020-12-13 22:59:51 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2020-12-13 22:59:51 +0100
commit1ede67ef5567f3871cc73a755339b7ab2afdd24c (patch)
tree8733f695b638cfeec46cdd094ccec19d90c6440f
parente3646ce5ac73996a7ddaa63633f73be678dcb9f3 (diff)
downloadquatuorbellefeuille.com-1ede67ef5567f3871cc73a755339b7ab2afdd24c.tar.xz
Allow gallery elements to shrink and grow
-rw-r--r--gallerie.css9
1 files changed, 4 insertions, 5 deletions
diff --git a/gallerie.css b/gallerie.css
index face887..23fc985 100644
--- a/gallerie.css
+++ b/gallerie.css
@@ -1,14 +1,13 @@
main {
-}
-
-main > div {
- padding: 2%;
overflow: auto;
+ padding-top: 2%;
+ padding-bottom: 2%;
+ padding-right: 2%;
}
.mosaic {
display: grid;
- grid-template-columns: repeat(auto-fit, 30em);
+ grid-template-columns: repeat(auto-fill, minmax(30em, 1fr));
grid-gap: 0.8em;
}