Forráskód Böngészése

bug fix in multiColorBackground.vue

louyu 7 éve
szülő
commit
a3c453eaa8

+ 4 - 1
src/components/multiColorBackground.vue

@@ -4,7 +4,7 @@
     <div class="bg-top" :style="{height:(topHeight||4)+'rem'}">
 
     </div>
-    <div class="content">
+    <div class="content" :class="{'full-height':showGoBack}">
       <slot></slot>
     </div>
 
@@ -57,4 +57,7 @@
     z-index: 4;
 
   }
+  .content.full-height{
+    height: 100vh;
+  }
 </style>

+ 1 - 0
src/views/contact.vue

@@ -97,5 +97,6 @@
   }
   .contact-list{
     margin-top: 2.2rem;
+    padding-bottom: 5px;
   }
 </style>

+ 1 - 0
src/views/contract.vue

@@ -91,5 +91,6 @@
   }
   .contract-list{
    margin-top: 2.2rem;
+    padding-bottom: 5px;
   }
 </style>