diff --git a/src/app/documents/layout.tsx b/src/app/documents/layout.tsx new file mode 100644 index 0000000000..faaa8decbd --- /dev/null +++ b/src/app/documents/layout.tsx @@ -0,0 +1,11 @@ +import type { ReactNode } from "react"; + +import { GlobalSearchShell } from "@/components/clinical-dashboard/global-search-shell"; + +export default function DocumentsLayout({ children }: { children: ReactNode }) { + return ( + + {children} + + ); +} diff --git a/src/components/DocumentViewer.tsx b/src/components/DocumentViewer.tsx index e2a28984b5..3e0189281b 100644 --- a/src/components/DocumentViewer.tsx +++ b/src/components/DocumentViewer.tsx @@ -17,7 +17,6 @@ import { FileText, Loader2, Maximize2, - Menu, Minimize2, Minus, Plus, @@ -46,7 +45,6 @@ import { import { DocumentTagCloud } from "@/components/DocumentTagCloud"; import type { PDFDocumentLoadingTask, PDFDocumentProxy, RenderTask } from "pdfjs-dist"; import { - appBackdrop, clinicalDivider, cn, evidenceSurface, @@ -2355,61 +2353,38 @@ export function DocumentViewer({ return (
-
-
+
+ + + + +
- - + - -
setMobileActionsOpen(true)} + className="grid h-11 w-11 place-items-center rounded-full text-[color:var(--text-muted)] hover:bg-[color:var(--surface-subtle)] hover:text-[color:var(--text)]" + aria-label="Open document actions" > - - Answer - - - Documents - -
- -
- - - - -
+ +
-

{headerTitle}

-
+ +

{headerTitle}

{readyDocument ? (