Handling empty inline elements
[fnpeditor.git] / modules / documentCanvas / nodes.less
index 0313b0b..9128290 100644 (file)
@@ -1,3 +1,9 @@
+[wlxml-text] {
+    display: inline;
+    margin: 0 1px;
+    border: 1px solid white;
+}
+
 [wlxml-tag] {
     float: none !important; /* temporaty workaround for Bootstrap's influence via [class*="span"] { float: left; } */
     border-color: white;
     min-height:20px;
     position:relative;
     text-indent: 0;
+    padding: 1px 1px;
 }
 
 [wlxml-tag=span] {
-    display:inline-block;
+    display:inline;
     min-width: 10px;
 }