summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2020-12-31 15:04:16 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2020-12-31 15:04:16 +0100
commitcdb4870e8f47ac6968976b7e2e4cc68abf3e2f2d (patch)
tree1f4e81c15c5b1469012bab658549ff955028fc57
parent02bbe5b0c85cab29cc072a68d191eb4d1e85e7d7 (diff)
downloadquatuorbellefeuille.com-cdb4870e8f47ac6968976b7e2e4cc68abf3e2f2d.tar.xz
Allow summary grid cells to grow a bit
This way the grid fits better its div horizontally, and the gap between the grid and the description becomes smaller.
-rw-r--r--actualités.css2
-rw-r--r--programmes.css4
2 files changed, 3 insertions, 3 deletions
diff --git a/actualités.css b/actualités.css
index 6fb468c..0ecab79 100644
--- a/actualités.css
+++ b/actualités.css
@@ -10,7 +10,7 @@ main > div {
.events {
display: grid;
grid-auto-rows: 14em;
- grid-template-columns: repeat(auto-fit, 18em);
+ grid-template-columns: repeat(auto-fill, minmax(18em, 1fr));
grid-gap: 0.8em;
}
diff --git a/programmes.css b/programmes.css
index 9fc52d6..6b22e23 100644
--- a/programmes.css
+++ b/programmes.css
@@ -9,8 +9,8 @@ main > div {
.programs {
display: grid;
- grid-auto-rows: 14em;
- grid-template-columns: repeat(auto-fit, 40%);
+ grid-auto-rows: 10em;
+ grid-template-columns: repeat(auto-fill, minmax(10em, 1fr));
grid-gap: 0.8em;
}