Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 700e08b

Browse files
committed
perf[css]: perf login-container css PanJiaChen#404
1 parent 3c0696d commit 700e08b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/views/login/index.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,14 +170,14 @@ $light_gray:#eee;
170170
</style>
171171

172172
<style rel="stylesheet/scss" lang="scss" scoped>
173-
@import "src/styles/mixin.scss";
174173
$bg:#2d3a4b;
175174
$dark_gray:#889aa4;
176175
$light_gray:#eee;
177176
178177
.login-container {
179-
@include relative;
180-
height: 100vh;
178+
position: fixed;
179+
height: 100%;
180+
width: 100%;
181181
background-color: $bg;
182182
.login-form {
183183
position: absolute;

0 commit comments

Comments
 (0)