소스 검색

Col: fix a style bug about responsive layout

Allen Walker 8 년 전
부모
커밋
f508fd703e
1개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제
  1. 6 6
      packages/theme-default/src/col.css

+ 6 - 6
packages/theme-default/src/col.css

@@ -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)%;
     }