Merge pull request #1032 from KiritaniAyaka/patch-2

fix: fix mixed layout when screen eq 768px
pull/1042/head
Jerry Wong 2 years ago committed by GitHub
commit 6b7d0d9806
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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) {

Loading…
Cancel
Save