mirror of
				https://github.com/Jermolene/TiddlyWiki5
				synced 2025-10-30 23:23:02 +00:00 
			
		
		
		
	Add a margin for single tiddler windows
This commit is contained in:
		| @@ -35,7 +35,7 @@ exports.startup = function() { | ||||
| 			return; | ||||
| 		} | ||||
| 		// Initialise the document | ||||
| 		srcDocument.write("<html><head></head><body class='tc-body'></body></html>"); | ||||
| 		srcDocument.write("<html><head></head><body class='tc-body tc-single-tiddler-window'></body></html>"); | ||||
| 		srcDocument.close(); | ||||
| 		srcDocument.title = title; | ||||
| 		srcWindow.addEventListener("beforeunload",function(event) { | ||||
|   | ||||
| @@ -66,6 +66,10 @@ body.tc-body { | ||||
| 	<<custom-background-datauri>> | ||||
| } | ||||
|  | ||||
| body.tc-body.tc-single-tiddler-window { | ||||
| 	margin: 1em; | ||||
| } | ||||
|  | ||||
| h1, h2, h3, h4, h5, h6 { | ||||
| 	line-height: 1.2; | ||||
| 	font-weight: 300; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jermolene
					Jermolene