about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJeong Arm <kjwonmail@gmail.com>2019-09-22 19:58:29 +0900
committerThibaut Girka <thib@sitedethib.com>2019-09-30 15:58:29 +0200
commit2441d07cd5d62aeea7bfa76f5ea4294e863b4bf9 (patch)
tree2bc05d4a4ee74079399ebcadaea9486b35008a3d
parent27f922168ad828a990d2e73facc84935158df1a6 (diff)
[Glitch] Fix ugly TOC when title is too long
Port 26b810561a5b7cfd1766699358d998b5882a5876 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
-rw-r--r--app/javascript/flavours/glitch/styles/containers.scss2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/styles/containers.scss b/app/javascript/flavours/glitch/styles/containers.scss
index b391c5c3b..6a48ff354 100644
--- a/app/javascript/flavours/glitch/styles/containers.scss
+++ b/app/javascript/flavours/glitch/styles/containers.scss
@@ -171,7 +171,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;