permits uploaded

This commit is contained in:
Dobromir Popov
2024-03-06 22:24:59 +02:00
parent acc5983c5f
commit 3e60cc3361
3 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ const PDFViewerPage = ({ pdfFiles }) => {
// {file.name}
// </a>
// </React.Fragment>
<div style={{ width: 'calc(100% - 1rem)', height: '100%', margin: '0 0' }}>
<div style={{ width: 'calc(100% - 1rem)', height: '100%' }} className='py-2'>
< object data={file.url} type="application/pdf" style={{ width: '100%', height: '100%' }}>
<p>Вашият браузър не поддържа PDFs файлове. Моля свалете файла за да го разгледате: <a href={file.url}>Свали {file.name}</a>.</p>
<p>Your browser does not support PDFs. Please download the PDF to view it: <a href={file.url}> {file.name}</a>.</p>