From 104630cdb897086e094c7842eead7263043ecac6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Wed, 26 Oct 2022 23:50:48 +0200 Subject: Change how sidebar TOC works. --- hs/style2.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hs/style2.css b/hs/style2.css index 9d25b56..e6e3378 100644 --- a/hs/style2.css +++ b/hs/style2.css @@ -1,7 +1,7 @@ body { display: grid; /* grid-template-columns: auto 1fr */ - grid-template-columns: auto 15em; + grid-template-columns: 1fr auto; } img { @@ -12,6 +12,8 @@ img { #TOC { grid-column: 2; grid-row: 2; + white-space: nowrap; + max-width: 15em; } #TOC ul { -- cgit v1.2.3