1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-28 14:58:21 +09:00

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

* Fix ugly TOC when title is too long

* Fix TOC using grid, minmax
This commit is contained in:
Jeong Arm 2019-09-22 19:58:29 +09:00 committed by Eugen Rochko
parent 4fe5f8f3c7
commit 26b810561a

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;