File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -149,10 +149,11 @@ export default function PdfViewer({ url, name }: PdfViewerProps) {
149
149
< div className = "flex flex-col items-center" >
150
150
< div
151
151
ref = { containerRef }
152
- className = "max-h-[70vh] overflow-auto border border-gray-300 shadow-lg"
152
+ className = "max-h-[70vh] w-fit overflow-auto bg-[#F3F5FF] shadow-lg dark:bg-[#070114] "
153
153
>
154
154
< Document
155
155
file = { url }
156
+ className = { "w-fit" }
156
157
onLoadSuccess = { onDocumentLoadSuccess }
157
158
error = {
158
159
< div className = "p-4 text-red-500" > Failed to load PDF file.</ div >
@@ -186,7 +187,7 @@ export default function PdfViewer({ url, name }: PdfViewerProps) {
186
187
</ Document >
187
188
</ div >
188
189
189
- < div className = "mt-4 flex flex-col items-center gap-4 rounded-lg bg-[#262635 ] p-4 shadow sm:flex-row" >
190
+ < div className = "mt-4 flex flex-col items-center gap-4 rounded-lg bg-[#F3F5FF ] p-4 shadow dark:bg-[#262635] sm:flex-row" >
190
191
< div className = "flex items-center gap-2" >
191
192
< Button
192
193
onClick = { goToPreviousPage }
You can’t perform that action at this time.
0 commit comments