mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-30 05:19:57 +00:00
Inline code should not follow "Wrap long lines in code blocks" option
This commit is contained in:
parent
739e8cdf55
commit
4615a04e59
@ -157,7 +157,6 @@ code {
|
||||
color: <<colour code-foreground>>;
|
||||
background-color: <<colour code-background>>;
|
||||
border: 1px solid <<colour code-border>>;
|
||||
white-space: {{$:/themes/tiddlywiki/vanilla/options/codewrapping}};
|
||||
padding: 0 3px 2px;
|
||||
border-radius: 3px;
|
||||
font-family: {{$:/themes/tiddlywiki/vanilla/settings/codefontfamily}};
|
||||
@ -289,6 +288,7 @@ Markdown likes putting code elements inside pre elements
|
||||
*/
|
||||
pre > code {
|
||||
display: block;
|
||||
white-space: {{$:/themes/tiddlywiki/vanilla/options/codewrapping}};
|
||||
padding: 0.5em;
|
||||
border: none;
|
||||
background-color: inherit;
|
||||
|
Loading…
Reference in New Issue
Block a user