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:
@@ -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}};
|
||||
|
Reference in New Issue
Block a user