File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
apps/frontend/src/components/media Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ export const Pagination: FC<{
4545 } , [ totalPages ] ) ;
4646
4747 return (
48- < ul className = "flex flex-row items-center gap-1" >
48+ < ul className = "flex flex-row items-center gap-1 justify-center mt-[15px] " >
4949 < li className = { clsx ( current === 0 && 'opacity-20 pointer-events-none' ) } >
5050 < div
5151 className = "cursor-pointer inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 h-10 px-4 py-2 gap-1 pl-2.5 text-gray-400 hover:text-white border-[#1F1F1F] hover:bg-forth"
@@ -421,14 +421,10 @@ export const MediaBox: FC<{
421421 ) }
422422 </ div >
423423 ) ) }
424- { ( pages || 0 ) > 1 && (
425- < Pagination
426- current = { page }
427- totalPages = { pages }
428- setPage = { setPage }
429- />
430- ) }
431424 </ div >
425+ { ( pages || 0 ) > 1 && (
426+ < Pagination current = { page } totalPages = { pages } setPage = { setPage } />
427+ ) }
432428 </ div >
433429 </ DropFiles >
434430 </ div >
You can’t perform that action at this time.
0 commit comments