fix: styling

This commit is contained in:
eugene 2024-08-06 12:49:16 +03:00
parent 551a3f8509
commit e681513785

View File

@ -1,5 +1,3 @@
import { Box } from '@mui/material'
import styles from '../../pages/sign/style.module.scss'
import PdfView from './index.tsx'
import MarkFormField from '../../pages/sign/MarkFormField.tsx'
import { PdfFile } from '../../types/drawing.ts'
@ -9,9 +7,10 @@ import {
findNextCurrentUserMark,
isCurrentUserMarksComplete,
updateCurrentUserMarks,
} from '../../utils/mark.ts'
} from '../../utils'
import { EMPTY } from '../../utils/const.ts'
import { Container } from '../Container'
import styles from '../../pages/sign/style.module.scss'
interface PdfMarkingProps {
files: { pdfFile: PdfFile, filename: string, hash: string | null }[],
@ -74,7 +73,7 @@ const PdfMarking = (props: PdfMarkingProps) => {
return (
<>
<Box className={styles.container}>
<Container className={styles.container}>
{
currentUserMarks?.length > 0 && (
<PdfView
@ -93,7 +92,7 @@ const PdfMarking = (props: PdfMarkingProps) => {
selectedMarkValue={selectedMarkValue}
/>
)}
</Box>
</Container>
</>
)
}