更新样式:微调aside高度为底端填满,遮盖footer空间

This commit is contained in:
Argo-MacBookPro 2018-09-16 15:54:50 +08:00
parent 6752bdc0fe
commit ebd89e8841
2 changed files with 5 additions and 2 deletions

View File

@ -36,6 +36,7 @@
bottom: 40px;
position: absolute;
overflow: auto;
height: auto;
}
.header {
@ -80,6 +81,7 @@
bottom: 40px;
position: absolute;
overflow: auto;
height: auto;
}
aside {

View File

@ -13,12 +13,12 @@ body {
aside {
transition: transform .4s ease-in-out;
transform: translate(-100%);
height: 100%;
position: absolute;
top: 98px;
bottom: 40px;
bottom: 0;
left: 0;
right: 0;
height: auto;
z-index: 5;
}
@ -31,6 +31,7 @@ aside {
overflow: auto;
width: 100%;
z-index: 5;
height: 100%;
background: #2a3542;
}