瀏覽代碼

limited root layout to max-width:1920px; #1251

bach 2 年之前
父節點
當前提交
006dd606ea
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      assets/css/base/_layout.scss

+ 3 - 0
assets/css/base/_layout.scss

@@ -18,9 +18,12 @@ body{
   display: flex;
   flex-direction: column;
   width: 100vw;
+  max-width: 1920px;
   height:100vh;
+  margin:0 auto;
   %layout-element{
     width:100vw;
+    max-width: 1920px;
     box-sizing:border-box;
   }
   header[role="banner"]{