From 30d87d1fa9411ecebfed65a88f93659e44ca66d7 Mon Sep 17 00:00:00 2001 From: hjhan Date: Fri, 28 Aug 2026 09:06:05 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=BE=84=E6=B8=85=20chosen=20=E5=AE=BD?= =?UTF-8?q?=E5=BA=A6=E6=B3=A8=E9=87=8A=EF=BC=8C=E9=81=BF=E5=85=8D=E4=B8=8E?= =?UTF-8?q?=E4=B8=8B=E6=96=B9=E5=8D=95=E9=80=89=20120px=20=E6=97=A7?= =?UTF-8?q?=E8=A7=84=E5=88=99=E6=B7=B7=E6=B7=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- YLErpWeb/wwwroot/Style/Css/margin_template_v2Edit.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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;