ant-design/components/space/style/index.less
2020-09-14 10:53:47 +08:00

36 lines
565 B
Plaintext

@import '../../style/themes/index';
@import '../../style/mixins/index';
@space-prefix-cls: ~'@{ant-prefix}-space';
@space-item-prefix-cls: ~'@{ant-prefix}-space-item';
.@{space-prefix-cls} {
display: inline-flex;
&-vertical {
flex-direction: column;
}
&-align {
&-center {
align-items: center;
}
&-start {
align-items: flex-start;
}
&-end {
align-items: flex-end;
}
&-baseline {
align-items: baseline;
}
}
}
.@{space-item-prefix-cls} {
&:empty {
display: none;
}
}
@import './rtl';