diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-10-26 23:50:48 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-10-26 23:50:48 +0200 |
commit | 104630cdb897086e094c7842eead7263043ecac6 (patch) | |
tree | 6808b99d4c2d98d8e43fd51ac65098f0af9adf4d | |
parent | Style tables. (diff) | |
download | vimwiki-scripts-104630cdb897086e094c7842eead7263043ecac6.tar.gz vimwiki-scripts-104630cdb897086e094c7842eead7263043ecac6.tar.xz |
Change how sidebar TOC works.
-rw-r--r-- | hs/style2.css | 4 |
1 files changed, 3 insertions, 1 deletions
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 { |