diff --git a/src/components/PDFView/PdfMarking.tsx b/src/components/PDFView/PdfMarking.tsx index 1d4b522..02a9627 100644 --- a/src/components/PDFView/PdfMarking.tsx +++ b/src/components/PDFView/PdfMarking.tsx @@ -13,6 +13,7 @@ import signPageStyles from '../../pages/sign/style.module.scss' import styles from './style.module.scss' import { CurrentUserFile } from '../../types/file.ts' import FileList from '../FileList' +import { StickySideColumns } from '../../layouts/StickySideColumns.tsx' interface PdfMarkingProps { files: CurrentUserFile[] @@ -112,30 +113,35 @@ const PdfMarking = (props: PdfMarkingProps) => { return ( <> -
-
- {currentFile !== null && ( - + + {currentFile !== null && ( + + )} +
+ } + > +
+ {currentUserMarks?.length > 0 && ( +
+ +
)}
- {currentUserMarks?.length > 0 && ( -
- -
- )} -
+ {selectedMark !== null && (