From d299d818625c23ac9a3f8c9dcc24e8d2b6fd1eb3 Mon Sep 17 00:00:00 2001 From: Marek Vesely <xvesely4@fi.muni.cz> Date: Wed, 22 May 2024 18:34:08 +0200 Subject: [PATCH] refactor: change name of class --- shared/document/plugins/pdf/PDFPages.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shared/document/plugins/pdf/PDFPages.tsx b/shared/document/plugins/pdf/PDFPages.tsx index eeed74d14..cd594909c 100644 --- a/shared/document/plugins/pdf/PDFPages.tsx +++ b/shared/document/plugins/pdf/PDFPages.tsx @@ -15,7 +15,7 @@ const pdfpage = css` flex-direction: column; ` -const document = css` +const documentComponent = css` margin: 0 auto; ` @@ -37,7 +37,7 @@ const PDFPages = () => { return ( <div className={pdfpage}> <Document - className={document} + className={documentComponent} file={currentDocument.fileData} externalLinkTarget='_blank' externalLinkRel='noopener noreferrer' -- GitLab