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

* Fix ugly TOC when title is too long

* Fix TOC using grid, minmax
master
Jeong Arm 5 years ago committed by Eugen Rochko
parent 4fe5f8f3c7
commit 26b810561a
  1. 2
      app/javascript/styles/mastodon/containers.scss

@ -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…
Cancel
Save