From 7d90d0fcc07153646c35ebbe00b4553590d244e3 Mon Sep 17 00:00:00 2001 From: pmario Date: Sat, 17 Feb 2024 22:57:22 +0100 Subject: [PATCH] doc-macros -- fix margin, remove redundant br from info-boxes --- editions/tw5.com/tiddlers/system/doc-macros.tid | 3 +-- editions/tw5.com/tiddlers/system/doc-styles.tid | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/editions/tw5.com/tiddlers/system/doc-macros.tid b/editions/tw5.com/tiddlers/system/doc-macros.tid index 446edde01..b561c20ea 100644 --- a/editions/tw5.com/tiddlers/system/doc-macros.tid +++ b/editions/tw5.com/tiddlers/system/doc-macros.tid @@ -127,12 +127,11 @@ type: text/vnd.tiddlywiki \procedure .infoBox(text:"", title, icon:"$:/core/images/info-button", class, iconSize:"1.4rem") \function _f.tipClass() [[doc-icon-block]] [!is[blank]then] +[join[ ]] -<$log/>
>> <%if [!is[blank]] %><div>''<<title>>''</div><% endif %> <div class="doc-block-icon"><$transclude $tiddler=<<icon>> size=<<iconSize>>/></div> <<text>> -</div><br/> +</div> \end \procedure .note(_:"", title:"Note", icon:"$:/core/images/info-button", class:"doc-note", iconSize:"22pt") diff --git a/editions/tw5.com/tiddlers/system/doc-styles.tid b/editions/tw5.com/tiddlers/system/doc-styles.tid index 50142a081..32db19395 100644 --- a/editions/tw5.com/tiddlers/system/doc-styles.tid +++ b/editions/tw5.com/tiddlers/system/doc-styles.tid @@ -164,7 +164,7 @@ tr.doc-table-subheading { .doc-icon-block { border-left: 4px solid <<colour blockquote-bar>>; - margin-left: 3em; + margin: 15px 0 15px 3em; padding-left: 0.6em; position: relative; }