[Glitch] Fix ugly TOC when title is too long

Port 26b810561a to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
This commit is contained in:
Jeong Arm 2019-09-22 19:58:29 +09:00 committed by Thibaut Girka
parent 27f922168a
commit 2441d07cd5

View File

@ -171,7 +171,7 @@
.grid-4 { .grid-4 {
display: grid; display: grid;
grid-gap: 10px; grid-gap: 10px;
grid-template-columns: 1fr 1fr 1fr 1fr; grid-template-columns: repeat(4, minmax(0, 1fr));
grid-auto-columns: 25%; grid-auto-columns: 25%;
grid-auto-rows: max-content; grid-auto-rows: max-content;