diff --git a/frontend/app.html b/frontend/app.html index 26d2e99..1685df4 100644 --- a/frontend/app.html +++ b/frontend/app.html @@ -4941,7 +4941,7 @@ color: var(--text-secondary); } - @media (min-width: 769px) { + @media (min-width: 901px) { .mobile-file-sheet-overlay { display: none !important; } diff --git a/frontend/app.js b/frontend/app.js index 88e4cd8..4b82f7d 100644 --- a/frontend/app.js +++ b/frontend/app.js @@ -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) { diff --git a/frontend/workspace.css b/frontend/workspace.css index 4bc9e92..1a40c6f 100644 --- a/frontend/workspace.css +++ b/frontend/workspace.css @@ -2709,7 +2709,7 @@ body.enterprise-netdisk .mobile-file-create-trigger { } } -@media (max-width: 768px) { +@media (max-width: 900px) { body.enterprise-netdisk { min-width: 0; min-height: 100vh; @@ -3159,12 +3159,16 @@ body.enterprise-netdisk .mobile-file-create-trigger { body.enterprise-netdisk .file-list-action-col { width: 48px; padding-left: 4px !important; + display: table-cell !important; } body.enterprise-netdisk .file-row-mobile-more { width: 42px; min-width: 42px; min-height: 42px; + display: inline-flex !important; + align-items: center; + justify-content: center; border-radius: 11px; }