change divide color again
This commit is contained in:
parent
ad162cbe3f
commit
40d5bcf86d
@ -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>
|
||||||
) : (
|
) : (
|
||||||
|
Loading…
Reference in New Issue
Block a user