diff --git a/client/src/components/Collab/CollabNotes.tsx b/client/src/components/Collab/CollabNotes.tsx index bcb729172..31331097b 100644 --- a/client/src/components/Collab/CollabNotes.tsx +++ b/client/src/components/Collab/CollabNotes.tsx @@ -24,6 +24,7 @@ import { NoteCard } from './CollabNotesCard' import { FilePreviewPortal } from './CollabNotesFilePreviewPortal' import { AuthedImg } from './CollabNotesAuthedImg' import { safeExternalHref } from '../../utils/safeUrl' +import { useIsPhone } from '../../mobile/useIsPhone' // ── Main Component ────────────────────────────────────────────────────────── interface CollabNotesProps { @@ -343,6 +344,7 @@ function CollabNotesGrid(S: NotesState) { sortedNotes, currentUser, canEdit, handleUpdateNote, setPendingDeleteNoteId, setEditingNote, setViewingNote, setPreviewFile, getCategoryColor, tripId, t, } = S + const isPhone = useIsPhone() return (
{sortedNotes.length === 0 ? ( @@ -352,7 +354,7 @@ function CollabNotesGrid(S: NotesState) { /* ── Notes grid — 2 columns ── */
{sortedNotes.map(note => ( diff --git a/client/src/components/Files/FileManager.tsx b/client/src/components/Files/FileManager.tsx index cf5db4418..34cd121c3 100644 --- a/client/src/components/Files/FileManager.tsx +++ b/client/src/components/Files/FileManager.tsx @@ -44,7 +44,7 @@ export default function FileManager(props: FileManagerProps) { {showTrash ? : }