瀏覽代碼

exception responsive improve

ddcat1115 8 年之前
父節點
當前提交
f810179801
共有 1 個文件被更改,包括 28 次插入0 次删除
  1. 28 0
      src/components/Exception/index.less

+ 28 - 0
src/components/Exception/index.less

@@ -47,3 +47,31 @@
     }
   }
 }
+
+@media screen and (max-width: @screen-xl) {
+  .exception {
+    .imgBlock {
+      padding-right: 88px;
+    }
+  }
+}
+
+@media screen and (max-width: @screen-sm) {
+  .exception {
+    display: block;
+    text-align: center;
+    .imgBlock {
+      padding-right: 0;
+      margin: 0 auto 24px;
+    }
+  }
+}
+
+@media screen and (max-width: @screen-xs) {
+  .exception {
+    .imgBlock {
+      margin-bottom: -24px;
+      overflow: hidden;
+    }
+  }
+}