docs: 澄清 chosen 宽度注释,避免与下方单选 120px 旧规则混淆
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user