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:
Eric Tian 2019-12-10 15:04:25 +08:00 committed by tangjinzhou
parent d6234307d2
commit 50299632cc

View File

@ -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;
}
}