perf[css]: perf login-container css #404

This commit is contained in:
Pan 2018-01-19 15:33:24 +08:00
parent 3c0696d1a9
commit 700e08b795

View file

@ -170,14 +170,14 @@ $light_gray:#eee;
</style> </style>
<style rel="stylesheet/scss" lang="scss" scoped> <style rel="stylesheet/scss" lang="scss" scoped>
@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; position: fixed;
height: 100vh; height: 100%;
width: 100%;
background-color: $bg; background-color: $bg;
.login-form { .login-form {
position: absolute; position: absolute;