From 010b01f2058f2e841ea00bf4aa75f4d51936160d Mon Sep 17 00:00:00 2001 From: Jermolene Date: Mon, 10 Aug 2015 11:39:11 +0100 Subject: [PATCH] Remove extra DIV added to view template One of the changes for introducing folded tiddlers was the extra reveal widget here, which introduces an extra DIV element, breaking some CSS rules. To fix it, we re-use the reveal widgets generated DIV as the tiddler body DIV --- core/ui/ViewTemplate/body.tid | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/core/ui/ViewTemplate/body.tid b/core/ui/ViewTemplate/body.tid index d7467ebc9..55c67f977 100644 --- a/core/ui/ViewTemplate/body.tid +++ b/core/ui/ViewTemplate/body.tid @@ -5,9 +5,7 @@ tags: $:/tags/ViewTemplate $:/state/folded/$(currentTiddler)$ \end -
- -<$reveal type="nomatch" state=<> text="hide" retain="yes" animate="yes"> +<$reveal tag="div" class="tc-tiddler-body" type="nomatch" state=<> text="hide" retain="yes" animate="yes"> <$list filter="[all[current]!has[plugin-type]!field:hide-body[yes]]"> @@ -20,5 +18,3 @@ $:/state/folded/$(currentTiddler)$ - -