editor: fix splitting text when its parent contains comments
[fnpeditor.git] / src / editor / modules / metadataEditor / metadataEditor.less
index 42bf5c0..499fb4f 100644 (file)
@@ -1,22 +1,33 @@
 .rng-module-metadataEditor {
 
     table {
 .rng-module-metadataEditor {
 
     table {
+        table-layout:fixed;
         margin-bottom:10px;
         margin-bottom:10px;
-    
+
         [contenteditable] {
         [contenteditable] {
-            cursor: pointer;
+            cursor: text;
+            word-wrap: break-word;
+            min-height: 13px;
         }
 
         li:last-child {
             border-bottom: none !important;
         }
 
         }
 
         li:last-child {
             border-bottom: none !important;
         }
 
+        tr td {
+            vertical-align: middle;
+        }
+
         tr td:nth-child(1){
         tr td:nth-child(1){
-            width: 20%;
+            width: 30%;
         }
 
         tr td:nth-child(2)  {
         }
 
         tr td:nth-child(2)  {
-            width:80%;
+            width:70%;
+        }
+
+        tr td:nth-child(3) {
+            width: 14px;
         }
     }
 
         }
     }
 
         margin-right:6px;
     }
 
         margin-right:6px;
     }
 
+    .rng-visualEditor-metaRemoveBtn {
+        color: @red;
+    }
+
     .btn {
         padding:3px;
         line-height:10px;
     }
     .btn {
         padding:3px;
         line-height:10px;
     }
+
+    .drop-menu {
+        overflow: auto;
+    }
 }
\ No newline at end of file
 }
\ No newline at end of file