mirror of
https://github.com/youzan/vant.git
synced 2025-12-24 02:02:09 +08:00
[breaking change] rebuild style struct (#2021)
This commit is contained in:
41
packages/row/index.less
Normal file
41
packages/row/index.less
Normal file
@@ -0,0 +1,41 @@
|
||||
@import '../style/var';
|
||||
|
||||
.van-row {
|
||||
&::after {
|
||||
content: "";
|
||||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
&--flex {
|
||||
display: flex;
|
||||
|
||||
&::after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
&--justify-center {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
&--justify-end {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
&--justify-space-between {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
&--justify-space-around {
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
&--align-center {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
&--align-bottom {
|
||||
align-items: bottom;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user