diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2020-12-31 15:04:16 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2020-12-31 15:04:16 +0100 |
| commit | cdb4870e8f47ac6968976b7e2e4cc68abf3e2f2d (patch) | |
| tree | 1f4e81c15c5b1469012bab658549ff955028fc57 | |
| parent | 02bbe5b0c85cab29cc072a68d191eb4d1e85e7d7 (diff) | |
| download | quatuorbellefeuille.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.css | 2 | ||||
| -rw-r--r-- | programmes.css | 4 |
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; } |
