修改BUG:前台页面高度变化导致页脚消失

This commit is contained in:
Argo-Lenovo 2016-11-20 20:50:37 +08:00
parent 3ac85aa550
commit 95c155ae65
3 changed files with 20 additions and 16 deletions

View File

@ -49,6 +49,10 @@
white-space: nowrap;
text-overflow: ellipsis;
}
.site-footer {
position: relative;
}
}
@media (max-width: 548px) {
@ -112,6 +116,13 @@
position: absolute;
overflow-y: auto;
}
.site-footer {
position: fixed;
left: 0;
bottom: 0;
right: 0;
}
}
@media (min-height: 568px) {

View File

@ -47,14 +47,6 @@
z-index: 50;
}
.site-footer {
position: fixed;
left: 0;
bottom: 0;
right: 0;
z-index: 50;
}
#main-content {
margin-top: 0;
position: fixed;
@ -80,14 +72,6 @@
z-index: 50;
}
.site-footer {
position: fixed;
left: 0;
bottom: 0;
right: 0;
z-index: 50;
}
#main-content {
margin-top: 0;
position: fixed;

View File

@ -67,6 +67,15 @@ a, a:hover, a:focus {
padding: 10px 4px;
height: 40px;
}
.site-footer {
position: fixed;
left: 0;
bottom: 0;
right: 0;
z-index: 50;
}
/*end title*/
.go-top {