mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-29 16:46:51 +00: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:
parent
4fe5f8f3c7
commit
26b810561a
|
@ -169,7 +169,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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue