1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-14 05:44:50 +00:00
TiddlyWiki5/plugins/tiddlywiki/blog/templates/tiddler.tid
Mario Pietsch e1b3308a9d
Fix float right overflow (#8557)
* tc-subtitle is not a sibling to tc-body,
So tc-subtitle needs a clearfix to contains float:right

* add clearfix to all tiddler elements that could contain floats

* add clearfix to tc-tiddler-title in ViewTemplate

* add clearfix to plugin/blog/templates

* add clearfix to plugin/tour/templates

* remove test tiddler

* rename draft title class to tc-tiddler-title-draft

* undo title field covering

* move tc-clearfix to tc-float-right in the base CSS file

* rename clearfix CSS class to tc-clearfix

* update documentation tiddlers
2024-09-09 09:48:57 +01:00

36 lines
484 B
Plaintext

title: $:/plugins/tiddlywiki/blog/templates/tiddler
<div class="tc-tiddler-frame tc-tiddler-view-frame tc-clearfix">
<div class="tc-tiddler-title tc-clearfix">
<div class="tc-titlebar">
<h2 class="tc-title">
<$transclude field="caption" mode="inline">
<$view field="title"/>
</$transclude>
</h2>
</div>
</div>
<div class="tc-subtitle">
<$view field="modified" format="date" template="DDth MMM YYYY"/>
</div>
<div class="tc-tiddler-body">
<$transclude/>
</div>
</div>