File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -213,25 +213,25 @@ export default function PdfViewer({ url, name }: PdfViewerProps) {
213213
214214 <div className="flex items-center gap-2">
215215 <Button
216- onClick={zoomOut }
217- disabled={scale <= 0.25 }
216+ onClick={zoomIn }
217+ disabled={scale >= 3 }
218218 className="h-9 w-9 rounded p-0 text-white transition hover:bg-[#6536c1] disabled:bg-gray-300"
219219 >
220- <ZoomOut />
220+ <ZoomIn />
221221 </Button>
222222
223223 <span className="w-10 text-center text-sm font-medium">
224224 {(scale * 100).toFixed(0)}%
225225 </span>
226226
227+
227228 <Button
228- onClick={zoomIn }
229- disabled={scale >= 3 }
229+ onClick={zoomOut }
230+ disabled={scale <= 0.25 }
230231 className="h-9 w-9 rounded p-0 text-white transition hover:bg-[#6536c1] disabled:bg-gray-300"
231232 >
232- <ZoomIn />
233+ <ZoomOut />
233234 </Button>
234-
235235 <ShareButton />
236236
237237 <Button onClick={downloadPDF} className="h-9 w-9 rounded p-0">
You can’t perform that action at this time.
0 commit comments