Col: fix a style bug about responsive layout

pull/1535/head
Allen Walker 2016-12-03 12:43:34 +08:00 committed by 杨奕
parent 4891a70b54
commit f508fd703e
1 changed files with 6 additions and 6 deletions

View File

@ -32,14 +32,14 @@
.el-col-sm-$i {
width: calc(1 / 24 * $(i) * 100)%;
}
.el-col-xs-offset-$i {
.el-col-sm-offset-$i {
margin-left: calc(1 / 24 * $(i) * 100)%;
}
.el-col-xs-pull-$i {
.el-col-sm-pull-$i {
position: relative;
right: calc(1 / 24 * $(i) * 100)%;
}
.el-col-xs-push-$i {
.el-col-sm-push-$i {
position: relative;
left: calc(1 / 24 * $(i) * 100)%;
}
@ -68,14 +68,14 @@
.el-col-lg-$i {
width: calc(1 / 24 * $(i) * 100)%;
}
.el-col-xs-offset-$i {
.el-col-lg-offset-$i {
margin-left: calc(1 / 24 * $(i) * 100)%;
}
.el-col-xs-pull-$i {
.el-col-lg-pull-$i {
position: relative;
right: calc(1 / 24 * $(i) * 100)%;
}
.el-col-xs-push-$i {
.el-col-lg-push-$i {
position: relative;
left: calc(1 / 24 * $(i) * 100)%;
}