Explorar el Código

fix: 修改首页样式

MTrun hace 3 años
padre
commit
c4caff75e4
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      src/views/login/index.vue

+ 3 - 1
src/views/login/index.vue

@@ -171,6 +171,7 @@ $--filter-color-base-login: rgba(51, 55, 61, 0.3);
     justify-content: space-evenly;
     align-items: center;
     margin-top: -$--header-height;
+    padding-top: $--header-height;
     &-carousel {
       width: 50%;
       &-img {
@@ -205,8 +206,9 @@ $--filter-color-base-login: rgba(51, 55, 61, 0.3);
   }
 
   &-footer {
-    text-align: center;
     height: $footer-height;
+    margin-top: -$--header-height;
+    text-align: center;
     line-height: $footer-height;
     color: $--color-text-2;
   }