1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 03:57:21 +00:00

Small gap fix for the updated toc macro (alternative to tc-tiny-gap-left) (#7219)

This commit is contained in:
Télumire 2023-01-20 11:15:35 +01:00 committed by GitHub
parent 8ef6d78bef
commit 6718f82b4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -7,7 +7,7 @@ tags: $:/tags/Macro
\define toc-caption()
\whitespace trim
<span class="tc-toc-caption tc-tiny-gap-left">
<span class="tc-toc-caption">
<$set name="tv-wikilinks" value="no">
<$transclude field="caption">
<$view field="title"/>

View File

@ -2774,6 +2774,11 @@ input.tc-palette-manager-colour-input {
color: <<colour sidebar-foreground>>;
}
button + .tc-toc-caption,
button > .tc-toc-caption{
margin-left: .25em;
}
.tc-table-of-contents svg {
width: 0.7em;
height: 0.7em;