1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-09-09 06:16:06 +00:00

Style the body tag through a CSS class

This avoids accidentally styling body tags within SVG foreignObject
elements.
This commit is contained in:
Jeremy Ruston
2013-10-28 15:06:17 +00:00
parent 3cab550ebb
commit aefca26d72
4 changed files with 4 additions and 4 deletions

View File

@@ -67,7 +67,7 @@ html {
font-family: {{$:/themes/tiddlywiki/snowwhite/settings##fontfamily}};
}
body {
body.tw-body {
font-size: {{$:/themes/tiddlywiki/snowwhite/metrics##fontsize}};
line-height: {{$:/themes/tiddlywiki/snowwhite/metrics##lineheight}};
color: {{$:/themes/tiddlywiki/snowwhite/colourmappings##foreground}};