ソースを参照

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 {
92
 </script>
92
 </script>
93
 
93
 
94
 <style rel="stylesheet/scss" lang="scss">
94
 <style rel="stylesheet/scss" lang="scss">
95
-  @import "src/styles/mixin.scss";
96
   $bg:#2d3a4b;
95
   $bg:#2d3a4b;
97
   $dark_gray:#889aa4;
96
   $dark_gray:#889aa4;
98
   $light_gray:#eee;
97
   $light_gray:#eee;
99
 
98
 
100
   .login-container {
99
   .login-container {
101
-    @include relative;
102
-    height: 100vh;
100
+    position: fixed;
101
+    height: 100%;
102
+    width:100%;
103
     background-color: $bg;
103
     background-color: $bg;
104
     input:-webkit-autofill {
104
     input:-webkit-autofill {
105
       -webkit-box-shadow: 0 0 0px 1000px #293444 inset !important;
105
       -webkit-box-shadow: 0 0 0px 1000px #293444 inset !important;