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 New Issue