浏览代码

perf[css]: perf login-container css

Pan 7 年之前
父节点
当前提交
b8b28d3e79
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/views/login/index.vue

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

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