mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-24 00:50:28 +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)$
|
||||
\end
|
||||
<div class="tc-tiddler-title">
|
||||
<h2 class="tc-titlebar">
|
||||
<div class="tc-titlebar">
|
||||
<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>
|
||||
</span>
|
||||
@ -18,16 +18,16 @@ $:/config/ViewToolbarButtons/Visibility/$(listItem)$
|
||||
</span>
|
||||
</$set>
|
||||
<$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>
|
||||
</h2>
|
||||
</$list>
|
||||
<$list filter="[all[current]!prefix[$:/]]">
|
||||
<span class="tc-title">
|
||||
<h2 class="tc-title">
|
||||
<$view field="title"/>
|
||||
</span>
|
||||
</$list>
|
||||
</h2>
|
||||
</$list>
|
||||
</div>
|
||||
|
||||
<$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>>;
|
||||
}
|
||||
|
||||
.tc-titlebar h2 {
|
||||
font-size: 1em;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.tc-titlebar img {
|
||||
height: 1em;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user