themes and dimensions

This commit is contained in:
Owen Rees
2023-06-12 15:41:09 +02:00
parent 95f0a37c76
commit 254d4603aa
18 changed files with 204 additions and 34 deletions
+3 -3
View File
@@ -18,16 +18,16 @@ export default function TournamentTable({
console.log(filteredTournamentData.length);
const stickyHeader = "sticky top-0 p-3 bg-gray-600";
const stickyHeader = "sticky top-0 p-3 bg-teal-600 dark:bg-gray-600";
return (
<section className="w-full grid auto-rows-max lg:h-[calc(100vh-172px)] lg:col-start-2 lg:col-end-3">
<section className="w-full grid auto-rows-max pb-20 lg:h-[calc(100vh-174px)] lg:col-start-2 lg:col-end-3">
<SearchBar
tournamentFilter={tournamentFilter}
setTournamentFilter={setTournamentFilter}
/>
<table className="relative table-fixed w-full text-center text-xs">
<thead className="bg-gray-600 text-white">
<thead>
<tr>
<th className={stickyHeader}>Date</th>
<th className={stickyHeader}>Ville</th>