瀏覽代碼

fix: 解决登录页不适配大尺寸的问题

MTrun 3 年之前
父節點
當前提交
41e7dc7ab1
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/login/index.vue

+ 2 - 2
src/views/login/index.vue

@@ -271,7 +271,7 @@ $carousel-image-height: 60vh;
     align-items: center;
     margin-top: -$--header-height;
     height: $go-login-height;
-    max-width: $--max-width;
+    width: 100vw;
     &-carousel {
       width: $carousel-width;
       margin-top: 100px;
@@ -318,7 +318,7 @@ $carousel-image-height: 60vh;
     display: flex;
     justify-content: space-around;
     align-items: center;
-    width: $--max-width;
+    width: 100vw;
     height: 100vh;
     background: url('@/assets/images/login/login-bg.png') no-repeat 0 -120px;
     .bg-slot {