Merge pull request #387 from alisaweb3/v3-single

fix: force block
This commit is contained in:
ping 2023-05-20 13:12:58 +08:00 committed by GitHub
commit e8f82e6d23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 2 deletions

View File

@ -43,7 +43,7 @@ const showDiscord = window.location.host.search("ping.pub") > -1
<!-- sidebar -->
<div
class="w-64 fixed z-50 left-0 top-0 bottom-0 overflow-auto bg-base-100 border-r border-gray-100 dark:border-gray-700"
:class="{ block: sidebarShow, 'hidden xl:block': !sidebarShow }"
:class="{ block: sidebarShow, 'hidden force-block': !sidebarShow }"
>
<div class="flex items-center pl-4 py-4 mb-1">
<img class="w-10 h-10" src="../../assets/logo.svg" />

View File

@ -33,4 +33,11 @@
.table th:first-child {
position: relative;
z-index: 2;
}
}
@media (min-width: 1280px){
.force-block{
display: block !important;
}
}