diff --git a/YLErpWeb/wwwroot/Style/Css/margin_template_v2Edit.css b/YLErpWeb/wwwroot/Style/Css/margin_template_v2Edit.css index af4d6685..5e64bfaf 100644 --- a/YLErpWeb/wwwroot/Style/Css/margin_template_v2Edit.css +++ b/YLErpWeb/wwwroot/Style/Css/margin_template_v2Edit.css @@ -62,8 +62,9 @@ padding: 5px; } -/*多选已选项宽度自适应:固定 130px 会让短标签(买入/收益互换等)右侧大片留白, - 并把隐藏的搜索输入框挤到下一行,把整个控件撑出一截空白高度*/ +/*多选 chosen 的 search-choice 已去掉原固定 130px 宽(改由 chosen 默认自适应): + 固定宽会让短标签(买入/收益互换等)右侧大片留白,并把隐藏的搜索输入框挤到下一行、撑出一截空白高度。 + 下方 span:first-child 120px 是单选 chosen 选中项的旧规则,与多选无关*/ .form-layout .chosen-choices > li > span:first-child, .searchdiv .chosen-choices .search-choice > span:first-child { width: 120px;