@@ -18,7 +18,7 @@ interface SportsTableProps {
1818
1919const formatPrice = ( value : string | number | null | undefined ) => {
2020 if ( value === null || value === undefined ) {
21- return 'N/A ' ;
21+ return '0.00 ' ;
2222 }
2323
2424 if ( typeof value === 'number' ) {
@@ -79,14 +79,14 @@ const SportsTable: React.FC<SportsTableProps> = ( {
7979
8080 if ( ! isLoading && flatData . length === 0 ) {
8181 return (
82- < div className = "w-full py-8 text-center" >
82+ < div className = "min-h-screen mx-auto w-full py-8 text-center" >
8383 < p className = "text-white" > No cards available for this set.</ p >
8484 </ div >
8585 ) ;
8686 }
8787
8888 return (
89- < div className = "h-full mx-auto w-full max-w-7xl space-y-6 px-2 sm:px-4" >
89+ < div className = "min-h-screen mx-auto w-full max-w-7xl space-y-6 px-2 sm:px-4" >
9090 < div className = "flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between" >
9191 < SportsCSVButton sportsData = { sportsData } />
9292 { showPagination && < div className = "w-fit mx-auto" > { renderPagination ( ) } </ div > }
@@ -147,7 +147,7 @@ const SportsTable: React.FC<SportsTableProps> = ( {
147147 </ div >
148148
149149 < div className = "hidden md:block" >
150- < div className = "table-container overflow-hidden" >
150+ < div className = "table-container h-[40%] overflow-hidden" >
151151 < div className = "overflow-x-auto" >
152152 < table className = "glass text-shadow font-black min-w-full divide-y divide-white/10 text-left text-sm text-white" >
153153 < thead className = "bg-transparent backdrop text-xs uppercase tracking-wide text-white/60" >
@@ -158,7 +158,7 @@ const SportsTable: React.FC<SportsTableProps> = ( {
158158 sortKey = "consoleUri"
159159 onSort = { handleSort }
160160 getSortIcon = { getSortIcon }
161- className = "hidden lg:table-cell"
161+ className = "lg:table-cell"
162162 />
163163 < TableHeader title = "Ungraded" sortKey = "price1" onSort = { handleSort } getSortIcon = { getSortIcon } />
164164 < TableHeader title = "PSA 9" sortKey = "price3" onSort = { handleSort } getSortIcon = { getSortIcon } />
0 commit comments