From 6718f82b4cbb9b73772ff371bcca0baf16e5c2f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=A9lumire?= <31185220+Telumire@users.noreply.github.com> Date: Fri, 20 Jan 2023 11:15:35 +0100 Subject: [PATCH] Small gap fix for the updated toc macro (alternative to tc-tiny-gap-left) (#7219) --- core/wiki/macros/toc.tid | 2 +- themes/tiddlywiki/vanilla/base.tid | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/core/wiki/macros/toc.tid b/core/wiki/macros/toc.tid index c26351385..6b8a83295 100644 --- a/core/wiki/macros/toc.tid +++ b/core/wiki/macros/toc.tid @@ -7,7 +7,7 @@ tags: $:/tags/Macro \define toc-caption() \whitespace trim - + <$set name="tv-wikilinks" value="no"> <$transclude field="caption"> <$view field="title"/> diff --git a/themes/tiddlywiki/vanilla/base.tid b/themes/tiddlywiki/vanilla/base.tid index 027541cc7..9b7104cbd 100644 --- a/themes/tiddlywiki/vanilla/base.tid +++ b/themes/tiddlywiki/vanilla/base.tid @@ -2774,6 +2774,11 @@ input.tc-palette-manager-colour-input { color: <>; } +button + .tc-toc-caption, +button > .tc-toc-caption{ + margin-left: .25em; +} + .tc-table-of-contents svg { width: 0.7em; height: 0.7em;