mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-02 12:07:54 +08:00
fix: select empty not center (#1445)
* 修复select组件在mode为multiple或tags时,下拉选项为空时样式没有居中问题 外层的.ant-select-dropdown-menu-item样式设置了padding-right:@control-padding-horizontal + 20,得到padding的值为5px 32px 5px 12px,所以里层的.ant-empty-small的样式margin-left不需要加上@control-padding-horizontal * 添加px单位
This commit is contained in:
parent
d6234307d2
commit
50299632cc
@ -47,6 +47,6 @@
|
||||
// Patch for popup adjust
|
||||
.@{ant-prefix}-select-dropdown--multiple .@{ant-prefix}-select-dropdown-menu-item {
|
||||
.@{empty-prefix-cls}-small {
|
||||
margin-left: @control-padding-horizontal + 20;
|
||||
margin-left: 20px;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user