重构代码:修正移动端footer显示问题

This commit is contained in:
Argo Zhang 2019-04-18 20:35:04 +08:00
parent e37836f1b4
commit ad77b84859
2 changed files with 5 additions and 0 deletions

View File

@ -102,6 +102,10 @@
.frame iframe {
padding-top: 45px;
}
footer {
display: none;
}
}
@media (min-width: 1077px) {

View File

@ -284,6 +284,7 @@ $(function () {
$('.frame .sidebar').on('click', 'a', function (e) {
e.preventDefault();
$('.main-content').addFrame({ element: $(this) });
$('body').removeClass('sidebar-open');
});
$('.nav-tabs').on('click', 'a', function (e) {