Commit f508fd70 authored by Allen Walker's avatar Allen Walker Committed by 杨奕

Col: fix a style bug about responsive layout

parent 4891a70b
......@@ -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)%;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment