diff options
author | Jeong Arm <kjwonmail@gmail.com> | 2019-09-22 19:58:29 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-09-22 12:58:29 +0200 |
commit | 26b810561a5b7cfd1766699358d998b5882a5876 (patch) | |
tree | cb2f468808dbfcbaf8a7d6cd8d8afed9490d66a0 /app/javascript/styles | |
parent | 4fe5f8f3c7db8842fc58b8116bd1ae219ab068a9 (diff) |
Fix ugly TOC when title is too long (#11916)
* Fix ugly TOC when title is too long * Fix TOC using grid, minmax
Diffstat (limited to 'app/javascript/styles')
-rw-r--r-- | app/javascript/styles/mastodon/containers.scss | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/styles/mastodon/containers.scss b/app/javascript/styles/mastodon/containers.scss index 24bbf8211..2d1bf1abd 100644 --- a/app/javascript/styles/mastodon/containers.scss +++ b/app/javascript/styles/mastodon/containers.scss @@ -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; |