feat: login background image display (#1145)

This commit is contained in:
leoshine
2022-09-20 23:06:24 +08:00
committed by GitHub
parent e295da774f
commit 3d50255060
5 changed files with 23 additions and 11 deletions

View File

@ -28,22 +28,32 @@
color: #61dafb;
}
#root{
height: 100%;
}
#parent-area {
position: relative;
display: flex;
flex-direction: column;
height: 100%;
min-height: 100vh;
background-color: #f5f5f5;
display: flex;
}
#content-wrap {
padding-bottom: 70px; /* Footer height */
display: flex;
flex: 1 1 0;
align-items: stretch;
width: 100%;
}
#login-content-wrap {
display: flex;
flex: 1 1 0;
width: 100%;
}
#footer {
position: absolute;
bottom: 0;
width: 100%;
height: 70px; /* Footer height */
@ -78,6 +88,8 @@
}
.loginBackground {
height: 100%;
background: #ffffff no-repeat;
background-size: 100% 100%;
background-attachment: fixed;
}