File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -97,10 +97,7 @@ export default function PdfViewer({ url, name }: PdfViewerProps) {
9797 { /* Controls */ }
9898 < div className = "mt-4 flex flex-col items-center gap-4 rounded-lg bg-[#262635] p-4 shadow sm:flex-row" >
9999 { /* Page Navigation */ }
100- < ShareButton />
101- < Button onClick = { downloadPDF } className = "aspect-square h-10 w-10 p-0" >
102- < Download />
103- </ Button >
100+
104101 < div className = "flex items-center gap-2" >
105102 < Button
106103 onClick = { goToPreviousPage }
@@ -129,6 +126,7 @@ export default function PdfViewer({ url, name }: PdfViewerProps) {
129126
130127 { /* Zoom Controls */ }
131128 < div className = "flex items-center gap-2" >
129+ { " " }
132130 < Button
133131 onClick = { zoomOut }
134132 disabled = { scale <= 0.25 }
@@ -144,6 +142,10 @@ export default function PdfViewer({ url, name }: PdfViewerProps) {
144142 >
145143 { < ZoomIn /> }
146144 </ Button >
145+ < ShareButton />
146+ < Button onClick = { downloadPDF } className = "aspect-square h-10 w-10 p-0" >
147+ < Download />
148+ </ Button >
147149 </ div >
148150 </ div >
149151 </ div >
You can’t perform that action at this time.
0 commit comments