fix: unify compact navigation breakpoint
Some checks failed
Build and tests / test (push) Has been cancelled

This commit is contained in:
237899745
2026-08-03 22:25:55 +08:00
parent c529e6c51b
commit 8095b2391e
3 changed files with 8 additions and 4 deletions

View File

@@ -22,7 +22,7 @@ createApp({
console.warn('[视图] 无法读取文件视图偏好:', error);
}
return window.matchMedia('(max-width: 768px)').matches ? 'list' : 'grid';
return window.matchMedia('(max-width: 900px)').matches ? 'list' : 'grid';
})();
return {
@@ -2251,7 +2251,7 @@ handleDragLeave(e) {
},
isMobileViewport() {
return window.matchMedia('(max-width: 768px)').matches;
return window.matchMedia('(max-width: 900px)').matches;
},
setMobileSheetScrollLock(locked) {