fix: correct cell content styling order in DraftGrid component
This commit is contained in:
parent
74aea1677b
commit
50a94d62af
1 changed files with 4 additions and 4 deletions
|
|
@ -106,10 +106,10 @@ export function DraftGrid({
|
||||||
const cellContent = (
|
const cellContent = (
|
||||||
<div
|
<div
|
||||||
className={`flex-1 min-w-0 h-20 border-2 rounded-lg p-2 transition-all ${
|
className={`flex-1 min-w-0 h-20 border-2 rounded-lg p-2 transition-all ${
|
||||||
isCurrent
|
isPicked
|
||||||
? "border-blue-500 bg-blue-50 dark:bg-blue-950 shadow-lg"
|
|
||||||
: isPicked
|
|
||||||
? "border-green-500 bg-green-50 dark:bg-green-950"
|
? "border-green-500 bg-green-50 dark:bg-green-950"
|
||||||
|
: isCurrent
|
||||||
|
? "border-blue-500 bg-blue-50 dark:bg-blue-950 shadow-lg"
|
||||||
: "border-gray-300 bg-white dark:bg-gray-900"
|
: "border-gray-300 bg-white dark:bg-gray-900"
|
||||||
}`}
|
}`}
|
||||||
title={`Overall Pick #${pickNumber}`}
|
title={`Overall Pick #${pickNumber}`}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue