浏览代码

Fix UI generation

ShiroSmith 5 年之前
父节点
当前提交
2a798b2790
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hide/comp/PropsEditor.hx

+ 1 - 1
hide/comp/PropsEditor.hx

@@ -96,7 +96,7 @@ class PropsEditor extends Component {
 	}
 
 	public static function makeLabelEl(name: String, content: Element) {
-		var el = new Element('<dt>${name}</dt><dd></dd>');
+		var el = new Element('<span><dt>${name}</dt><dd></dd></span>');
 		content.appendTo(el.find("dd"));
 		return el;
 	}