commit cdb4870e8f47ac6968976b7e2e4cc68abf3e2f2d
parent 02bbe5b0c85cab29cc072a68d191eb4d1e85e7d7
Author: Kévin Le Gouguec <kevin.legouguec@gmail.com>
Date: Thu, 31 Dec 2020 15:04:16 +0100
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.
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git 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
@@ -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;
}