From 747eb9daba583d3b3c9f67466168e2a5b54cec6e Mon Sep 17 00:00:00 2001 From: nameanyone Date: Tue, 29 Dec 2015 00:02:19 -0800 Subject: [PATCH 1/2] Remove spaces between horizontal tabs --- core/wiki/macros/tabs.tid | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/core/wiki/macros/tabs.tid b/core/wiki/macros/tabs.tid index 4d1a9dfc0..4b49ac4b9 100644 --- a/core/wiki/macros/tabs.tid +++ b/core/wiki/macros/tabs.tid @@ -4,17 +4,13 @@ tags: $:/tags/Macro \define tabs(tabsList,default,state:"$:/state/tab",class,template)
-<$list filter="$tabsList$ +[nsort[order]]" variable="currentTab"> -<$tiddler tiddler=<> > -<$button set=<> setTo=<> default="$default$" selectedClass="tc-tab-selected" tooltip={{!!tooltip}}> +<$list filter="$tabsList$ +[nsort[order]]" variable="currentTab"><$tiddler tiddler=<> ><$button set=<> setTo=<> default="$default$" selectedClass="tc-tab-selected" tooltip={{!!tooltip}}> <$set name="tv-wikilinks" value="no"> <$transclude tiddler=<> field="caption"> <$macrocall $name="currentTab" $type="text/plain" $output="text/plain"/> - - - +
<$list filter="$tabsList$" variable="currentTab"> From 2a26ca53c2cc3b52f7b774d4687efb768be6fa8b Mon Sep 17 00:00:00 2001 From: nameanyone Date: Tue, 29 Dec 2015 00:12:06 -0800 Subject: [PATCH 2/2] Add margin to horizontal tabs --- themes/tiddlywiki/vanilla/base.tid | 2 ++ 1 file changed, 2 insertions(+) diff --git a/themes/tiddlywiki/vanilla/base.tid b/themes/tiddlywiki/vanilla/base.tid index b809ba9dc..35d969209 100644 --- a/themes/tiddlywiki/vanilla/base.tid +++ b/themes/tiddlywiki/vanilla/base.tid @@ -1472,6 +1472,7 @@ html body.tc-body.tc-single-tiddler-window { .tc-tab-buttons button { color: <>; padding: 3px 5px 3px 5px; + margin-right: 0.3em; font-weight: 300; border: none; background: inherit; @@ -1487,6 +1488,7 @@ html body.tc-body.tc-single-tiddler-window { display: block; width: 100%; margin-top: 3px; + margin-right: 0; text-align: right; background-color: <>; border-left: 1px solid <>;