mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-30 06:09:34 +08:00
b8109bd20e
* feat: new component: Space * add config-provider space doc * fix lint fail * revert test -u * improve demo * compatible invalidElement * use inline-flex and wrap * review change * add space version * improve classname * review change * review change
15 lines
259 B
Plaintext
15 lines
259 B
Plaintext
@import '../../style/themes/index';
|
|
@import '../../style/mixins/index';
|
|
|
|
@space-prefix-cls: ~'@{ant-prefix}-space';
|
|
|
|
.@{space-prefix-cls} {
|
|
display: inline-flex;
|
|
&-horizontal {
|
|
align-items: center;
|
|
}
|
|
&-vertical {
|
|
flex-direction: column;
|
|
}
|
|
}
|