scroll button fix

This commit is contained in:
Owen Rees
2023-06-20 15:37:08 +02:00
parent bcc3c74973
commit b90d7a25de
3 changed files with 11 additions and 7 deletions
+9 -5
View File
@@ -76,11 +76,15 @@ export default function TournamentTable({
className="tournament-table w-full grid auto-rows-max pb-20 lg:h-[calc(100vh-174px)] lg:col-start-2 lg:col-end-3 lg:overflow-y-scroll"
id="tournament-table"
>
<SearchBar
tournamentFilter={searchQuery}
setTournamentFilter={setSearchQuery}
/>
<ScrollToTopButton isLgScreen={isLgScreen} />
<div className="flex z-10">
<SearchBar
tournamentFilter={searchQuery}
setTournamentFilter={setSearchQuery}
/>
<div>
<ScrollToTopButton isLgScreen={isLgScreen} />
</div>
</div>
<table
className="relative table-fixed w-full text-center text-xs"
data-cy="tournament-table"