Fix ugly TOC when title is too long (#11916)

* Fix ugly TOC when title is too long

* Fix TOC using grid, minmax
shrike
Jeong Arm 2019-09-22 19:58:29 +09:00 committed by Eugen Rochko
parent 4fe5f8f3c7
commit 26b810561a
1 changed files with 1 additions and 1 deletions

View File

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