修复音乐馆页面在移动端的兼容性问题

This commit is contained in:
stonewu 2023-08-08 22:46:54 +08:00 committed by Roozen
parent ba1a0a1608
commit f144f436ef
2 changed files with 7 additions and 7 deletions

View File

@ -34,17 +34,17 @@ body {
display: block;
}
body:has(#anMusic-page) #web_bg {
body#htmlType-music #web_bg {
display: none;
}
body:has(#anMusic-page) #page {
body#htmlType-music #page {
min-height: calc(0px)
}
@media screen and (max-width: 768px) {
body:has(#anMusic-page) .page .layout#content-inner {
body#htmlType-music .page .layout#content-inner {
background: 0 0!important;
}
body:has(#anMusic-page) #page-header.not-top-img:not(.nav-fixed) #nav{
body#htmlType-music #page-header.not-top-img:not(.nav-fixed) #nav{
background: 0 0!important;
}
}
@ -56,8 +56,8 @@ body:has(#anMusic-page) #page {
}
body:has(#anMusic-page) #footer,
body:has(#anMusic-page) #nav-music {
body#htmlType-music #footer,
body#htmlType-music #nav-music {
display: none;
}

View File

@ -10,7 +10,7 @@
<title th:text="${site.title}"></title>
</head>
<body>
<body th:id="${'htmlType-'+htmlType}">
<!-- loading 页面 -->
<div th:replace="~{modules/loading-box :: loading-box}"></div>