From: Aleksander Ɓukasz Date: Fri, 13 Dec 2013 14:36:59 +0000 (+0100) Subject: editor: styling - make border of canvas elements transparent to respect parents backg... X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/fe80e8a58ec02f2ee7f69cbf0f8daa3efea85be8 editor: styling - make border of canvas elements transparent to respect parents background color --- diff --git a/src/editor/modules/documentCanvas/documentCanvas.less b/src/editor/modules/documentCanvas/documentCanvas.less index e17dce4..1696a09 100644 --- a/src/editor/modules/documentCanvas/documentCanvas.less +++ b/src/editor/modules/documentCanvas/documentCanvas.less @@ -78,5 +78,5 @@ [document-node-element] { position:relative; - border: 1px solid white; + border: 1px solid transparent; } \ No newline at end of file diff --git a/src/editor/modules/documentCanvas/nodes.less b/src/editor/modules/documentCanvas/nodes.less index ab26442..2a78438 100644 --- a/src/editor/modules/documentCanvas/nodes.less +++ b/src/editor/modules/documentCanvas/nodes.less @@ -2,13 +2,13 @@ font-size: 14px; display: inline; margin: 0 1px; - border: 1px solid white; + border: 1px solid transparent; white-space: pre-wrap; } [wlxml-tag] { float: none !important; /* temporaty workaround for Bootstrap's influence via [class*="span"] { float: left; } */ - border-color: white; + border-color: transparent; border-style:solid; border-width:1px; min-height:20px;