change divide color again

This commit is contained in:
Lee 2023-11-05 13:50:21 +00:00
parent ad162cbe3f
commit 40d5bcf86d
2 changed files with 3 additions and 6 deletions

@ -146,10 +146,7 @@ export default function GlobalRanking({ page, country }: GlobalRankingProps) {
</thead> </thead>
<tbody className="border-none"> <tbody className="border-none">
{players.map((player) => ( {players.map((player) => (
<tr <tr key={player.rank} className="border-b border-border">
key={player.rank}
className="border-b border-gray-700"
>
<PlayerRanking <PlayerRanking
showCountryFlag={country ? false : true} showCountryFlag={country ? false : true}
player={player} player={player}
@ -165,7 +162,7 @@ export default function GlobalRanking({ page, country }: GlobalRankingProps) {
{players.map((player) => ( {players.map((player) => (
<div <div
key={player.rank} key={player.rank}
className="flex flex-col gap-2 rounded-md bg-gray-700 hover:bg-gray-600" className="flex flex-col gap-2 rounded-md bg-background"
> >
<Link href={`/player/${player.id}/top/1`}> <Link href={`/player/${player.id}/top/1`}>
<PlayerRankingMobile player={player} /> <PlayerRankingMobile player={player} />

@ -128,7 +128,7 @@ export default function Scores({ playerData, page, sortType }: ScoresProps) {
<Spinner /> <Spinner />
</div> </div>
) : ( ) : (
<div className="grid grid-cols-1 divide-y divide-gray-700"> <div className="grid grid-cols-1 divide-y divide-border">
{!scores.loading && scores.scores.length == 0 ? ( {!scores.loading && scores.scores.length == 0 ? (
<p className="text-red-400">{errorMessage}</p> <p className="text-red-400">{errorMessage}</p>
) : ( ) : (