mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-25 01:20:30 +00:00
Improved fix for h2 title bar markup
Fixes the problem @pmario raised at https://github.com/Jermolene/TiddlyWiki5/commit/09a3f94d79fc6eacbfd46c86 594748e996191eb2#commitcomment-8488743
This commit is contained in:
parent
1255060a5a
commit
769842c4db
@ -8,7 +8,7 @@ fill:$(foregroundColor)$;
|
|||||||
$:/config/ViewToolbarButtons/Visibility/$(listItem)$
|
$:/config/ViewToolbarButtons/Visibility/$(listItem)$
|
||||||
\end
|
\end
|
||||||
<div class="tc-tiddler-title">
|
<div class="tc-tiddler-title">
|
||||||
<h2 class="tc-titlebar">
|
<div class="tc-titlebar">
|
||||||
<span class="tc-tiddler-controls">
|
<span class="tc-tiddler-controls">
|
||||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]]" variable="listItem"><$reveal type="nomatch" state=<<config-title>> text="hide"><$transclude tiddler=<<listItem>>/></$reveal></$list>
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]]" variable="listItem"><$reveal type="nomatch" state=<<config-title>> text="hide"><$transclude tiddler=<<listItem>>/></$reveal></$list>
|
||||||
</span>
|
</span>
|
||||||
@ -18,16 +18,16 @@ $:/config/ViewToolbarButtons/Visibility/$(listItem)$
|
|||||||
</span>
|
</span>
|
||||||
</$set>
|
</$set>
|
||||||
<$list filter="[all[current]removeprefix[$:/]]">
|
<$list filter="[all[current]removeprefix[$:/]]">
|
||||||
<span class="tc-title" title={{$:/language/SystemTiddler/Tooltip}}>
|
<h2 class="tc-title" title={{$:/language/SystemTiddler/Tooltip}}>
|
||||||
<span class="tc-system-title-prefix">$:/</span><$text text=<<currentTiddler>>/>
|
<span class="tc-system-title-prefix">$:/</span><$text text=<<currentTiddler>>/>
|
||||||
</span>
|
</h2>
|
||||||
</$list>
|
</$list>
|
||||||
<$list filter="[all[current]!prefix[$:/]]">
|
<$list filter="[all[current]!prefix[$:/]]">
|
||||||
<span class="tc-title">
|
<h2 class="tc-title">
|
||||||
<$view field="title"/>
|
<$view field="title"/>
|
||||||
</span>
|
|
||||||
</$list>
|
|
||||||
</h2>
|
</h2>
|
||||||
|
</$list>
|
||||||
|
</div>
|
||||||
|
|
||||||
<$reveal type="nomatch" text="" default="" state=<<tiddlerInfoState>> class="tc-tiddler-info tc-popup" animate="yes" retain="yes">
|
<$reveal type="nomatch" text="" default="" state=<<tiddlerInfoState>> class="tc-tiddler-info tc-popup" animate="yes" retain="yes">
|
||||||
|
|
||||||
|
@ -617,6 +617,11 @@ button.tc-untagged-label {
|
|||||||
color: <<colour muted-foreground>>;
|
color: <<colour muted-foreground>>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tc-titlebar h2 {
|
||||||
|
font-size: 1em;
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
|
|
||||||
.tc-titlebar img {
|
.tc-titlebar img {
|
||||||
height: 1em;
|
height: 1em;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user