From b6eab1afd68d72b173ba48496deaf8366dc2d79f Mon Sep 17 00:00:00 2001 From: Mario Pietsch Date: Thu, 28 Mar 2024 19:36:33 +0100 Subject: [PATCH] Add theme font size settings to Open in New Window CSS (#7945) * add theme font size settings to Open in New Window CSS * add DOCTYPE html to New Window startup template * fix merge typo * fix merge typo one more time --- themes/tiddlywiki/vanilla/base.tid | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/themes/tiddlywiki/vanilla/base.tid b/themes/tiddlywiki/vanilla/base.tid index 1ca85c6a7..5b19dd61f 100644 --- a/themes/tiddlywiki/vanilla/base.tid +++ b/themes/tiddlywiki/vanilla/base.tid @@ -1335,6 +1335,7 @@ canvas.tc-edit-bitmapeditor { clear: both; } +.tc-single-tiddler-window .tc-tiddler-body, .tc-tiddler-frame .tc-tiddler-body { font-size: {{$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize}}; line-height: {{$:/themes/tiddlywiki/vanilla/metrics/bodylineheight}}; @@ -1344,6 +1345,11 @@ canvas.tc-edit-bitmapeditor { overflow: hidden; /* https://github.com/Jermolene/TiddlyWiki5/issues/282 */ } +/* +* Tiddler in a new window. +* Also see: .tc-single-tiddler-window .tc-tiddler-body, above +*/ + html body.tc-body.tc-single-tiddler-window { margin: 1em; background: <>;