perf: optimize settingDrawer code

This commit is contained in:
vben
2020-11-10 22:45:39 +08:00
parent 5832ee6697
commit 4ff6b73c2b
25 changed files with 455 additions and 400 deletions

View File

@@ -168,7 +168,7 @@
display: none;
height: 100%;
background: url(../../../assets/images/login/login-in.png) no-repeat;
background-position: 50% 30%;
background-position: 30% 30%;
background-size: 80% 80%;
.respond-to(xlarge, { display: block;});
@@ -194,9 +194,9 @@
align-items: center;
.respond-to(large, {
width: 600px;
right: calc(50% - 300px);
right: calc(50% - 270px);
});
.respond-to(xlarge, { width: 600px; right:0});
.respond-to(xlarge, { width: 540px; right:0});
}
&__content {