mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 16:06:28 +08:00
fix: don't show empty items in Space component (#26721)
This commit is contained in:
parent
737bd60f23
commit
ab3d0ea8de
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user