The CSS that set the tiddler-body font size is below. If you wrap your 
custom view template section in a div or a $reveal with class="tc-tiddler-
body" it will get the same font size as the "body text".

.tc-tiddler-frame .tc-tiddler-body {
 font-size: 15px;
 line-height: 22px;
}


Best,
Joshua Fontany

On Wednesday, April 29, 2020 at 11:16:37 AM UTC-7, David Gifford wrote:
>
> Thanks Mat! Here I was trying to figure out the proper workings of it, 
> that I overlooked the obvious, a simple CSS workaround. Thank you!
>
> But it IS strange that it is not clearer what changes the text size like 
> this.
>
> On Wednesday, April 29, 2020 at 7:56:35 AM UTC-5, Mat wrote:
>>
>> What TW CSS rule controls the font-size of the text in custom tiddlers 
>>>> tagged viewtemplate? I would like the text in those tiddlers not to be 
>>>> smaller than the actual tiddler text. But I can't find it anywhere.
>>>>
>>>
>> Interstingly, using the inspector tool, there seems to be no class or 
>> even div around this. So, what you can do in your custom viewtemplate is to 
>> add a class around the content, like so
>>
>> <div class="myclass"> 
>> your content
>> </div>
>>
>> Then make a stylesheet tiddler and resize the text for example like so
>>
>> .myclass {font-size:110%;} 
>>
>> <:-)
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/767af857-08e6-4e43-b07d-5b236cf7ed51%40googlegroups.com.

Reply via email to