@@ -29,19 +29,19 @@ function Pagination(props: PaginationProps) {
29
29
} ;
30
30
const getClassnames = ( pageNumber : string | number ) => {
31
31
if ( pageNumber === currentPage ) {
32
- return "text-gray-500 dark:text-gray-400 h-9 w-8 flex items-center justify-center rounded-md hover:bg-gray-50 dark:hover:bg-gray-800 dark:bg-gray-700 bg-gray-100 disabled pointer-events-none" ;
32
+ return "font-semibold text-gray-500 dark:text-gray-400 max- h-9 max- w-8 flex items-center justify-center rounded-md hover:bg-gray-50 dark:hover:bg-gray-800 dark:bg-gray-700 bg-gray-100 disabled pointer-events-none px-3 py-2 " ;
33
33
}
34
34
if ( pageNumber === "..." ) {
35
- return "text-gray-500 dark:text-gray-400 h-9 w-8 flex items-center justify-center rounded-md hover:bg-gray-50 dark:hover:bg-gray-800 disabled pointer-events-none" ;
35
+ return "font-semibold text-gray-500 dark:text-gray-400 max- h-9 max- w-8 flex items-center justify-center rounded-md hover:bg-gray-50 dark:hover:bg-gray-800 disabled pointer-events-none px-3 py-2 " ;
36
36
}
37
- return "text-gray-500 dark:text-gray-400 h-9 w-8 flex items-center justify-center rounded-md hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer" ;
37
+ return "font-semibold text-gray-500 dark:text-gray-400 max- h-9 max- w-8 flex items-center justify-center rounded-md hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer px-3 py-2 " ;
38
38
} ;
39
39
40
40
return (
41
41
< nav className = "mt-16 mb-16" >
42
42
< ul className = "flex justify-center items-center space-x-4" >
43
43
< li
44
- className = { `font-bold text-gray-300 ${
44
+ className = { `font-semibold text-gray-300 ${
45
45
currentPage === 1
46
46
? "disabled dark:text-gray-500"
47
47
: "cursor-pointer dark:text-gray-400 text-gray-500"
@@ -63,7 +63,7 @@ function Pagination(props: PaginationProps) {
63
63
) ;
64
64
} ) }
65
65
< li
66
- className = { `font-bold text-gray-300 ${
66
+ className = { `font-semibold text-gray-300 ${
67
67
currentPage === totalNumberOfPages
68
68
? "disabled dark:text-gray-500"
69
69
: "cursor-pointer dark:text-gray-400 text-gray-500"
0 commit comments