fix: unify compact navigation breakpoint
Some checks failed
Build and tests / test (push) Has been cancelled
Some checks failed
Build and tests / test (push) Has been cancelled
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user