On Friday, December 20, 2019 at 6:15:22 AM UTC-8, Chuck R. wrote:
>
> I see there is a button on a tiddler (shown in edit mode) to limit the 
> height of the tiddler in edit mode. That's not what I want. I want to limit 
> the max height of all tiddlers when viewing them and use a global variable 
> to do so. Using CSS would be fine also but I don't know what class to 
> override in my Stylesheet.
>

Use this:
.tc-tiddler-body { max-height: 50vh; overflow-y:auto; }

You can, of course, adjust the max-height value to suit your specific 
needs.  You could also replace "max-height" with "height" which would force 
all tiddlers to be the same height, even if their content is shorter.

note: "vh" units refer to the current height of your browser window.
If you resize the window, the tiddler heights will adjust automatically.
If you use other kinds of CSS units (e.g., "em", "px", "in", "cm", etc.)
then the tiddlers heights will no longer be adaptive to the window height.

enjoy,
-e

-- 
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/73449527-53a8-4c8f-9bf2-db34c1132545%40googlegroups.com.

Reply via email to