X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/b2f1929ee729de25d516b0f9cdb49f265ce2d848..7c7abb572061965f2d3a1f1d29a212a3c6318e34:/modules/documentCanvas/nodes.less?ds=sidebyside diff --git a/modules/documentCanvas/nodes.less b/modules/documentCanvas/nodes.less index 1b325d6..d02e872 100644 --- a/modules/documentCanvas/nodes.less +++ b/modules/documentCanvas/nodes.less @@ -1,7 +1,9 @@ -[wlxml-text] { +[document-text-element] { + font-size: 14px; display: inline; margin: 0 1px; border: 1px solid white; + white-space: pre-wrap; } [wlxml-tag] { @@ -16,11 +18,10 @@ } [wlxml-tag=span] { - display:inline; min-width: 10px; } -[wlxml-tag=header] { +[wlxml-tag=header] [document-text-element] { font-size: 13px; font-weight: bold; margin: 10px 0; @@ -47,11 +48,11 @@ color: blue; } -[wlxml-tag=header] [wlxml-class=author] { +[wlxml-tag=header] [wlxml-class=author] [document-text-element] { font-size: 14px; } -[wlxml-tag=header] [wlxml-class=title] { +[wlxml-tag=header] [wlxml-class=title] [document-text-element] { font-size:18px; } @@ -128,4 +129,9 @@ padding: 5px; } +} + +[wlxml-tag="aside"] { + margin-top: 10px; + margin-bottom: 10px; } \ No newline at end of file