Browse Source

perf[css]: perf login-container css

Pan 7 years ago
parent
commit
b8b28d3e79
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/views/login/index.vue

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

@@ -92,14 +92,14 @@ export default {
 </script>
 
 <style rel="stylesheet/scss" lang="scss">
-  @import "src/styles/mixin.scss";
   $bg:#2d3a4b;
   $dark_gray:#889aa4;
   $light_gray:#eee;
 
   .login-container {
-    @include relative;
-    height: 100vh;
+    position: fixed;
+    height: 100%;
+    width:100%;
     background-color: $bg;
     input:-webkit-autofill {
       -webkit-box-shadow: 0 0 0px 1000px #293444 inset !important;