Fixing borders around inline document node elements which text starts at a new line
[fnpeditor.git] / modules / documentCanvas / documentCanvas.less
index 8a1dc68..69808ea 100644 (file)
@@ -73,6 +73,7 @@
         opacity: 0.65;
         font-family: monospace;
         z-index:9999;
+        white-space: nowrap;
     }
 }
 
@@ -96,4 +97,9 @@
     font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
     padding: 0 5px;
     text-indent: 0;
+}
+
+[document-node-element] {
+    position:relative;
+    border: 1px solid white;
 }
\ No newline at end of file