未验证 提交 ab3d0ea8 编写于 作者: K Knut Olav Bøhmer 提交者: GitHub

fix: don't show empty items in Space component (#26721)

上级 737bd60f
......@@ -2,6 +2,7 @@
@import '../../style/mixins/index';
@space-prefix-cls: ~'@{ant-prefix}-space';
@space-item-prefix-cls: ~'@{ant-prefix}-space-item';
.@{space-prefix-cls} {
display: inline-flex;
......@@ -25,4 +26,10 @@
}
}
.@{space-item-prefix-cls} {
&:empty {
display: none;
}
}
@import './rtl';
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册