mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +00:00
Add a margin for single tiddler windows
This commit is contained in:
parent
fdeb8a925f
commit
d23f174d01
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user