Merge pull request #1032 from KiritaniAyaka/patch-2

fix: fix mixed layout when screen eq 768px
This commit is contained in:
Jerry Wong authored and GitHub committed 2022-08-24 00:00:20 +08:00 Unverified
commit 6b7d0d9806
1 file changed
+1 -1
+1 -1
View File
@@ -14,7 +14,7 @@ document.addEventListener('DOMContentLoaded', function () {
}
let hideMenuIndex = ''
if (window.innerWidth < 768) hideMenuIndex = true
if (window.innerWidth <= 768) hideMenuIndex = true
else hideMenuIndex = blogNameWidth + menusWidth + searchWidth > $nav.offsetWidth - 120
if (hideMenuIndex) {