Skip to content

Commit 0143ceb

Browse files
fix: button colours
1 parent 787201c commit 0143ceb

File tree

1 file changed

+3
-3
lines changed
  • src/course/02- lessons/01-Bronze/StateColocationVsStateLifting/final/components

1 file changed

+3
-3
lines changed

src/course/02- lessons/01-Bronze/StateColocationVsStateLifting/final/components/Form.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,15 @@ export const Form = ({ onPokemonTypesUpdate }: IForm) => {
7575
<label
7676
key={pokemonType}
7777
className={classNames(
78-
'bg-white p-3 font-bold rounded-md cursor-pointer relative',
78+
'p-3 font-bold rounded-md cursor-pointer relative',
7979
!hasSelectedAllOptions &&
8080
!isSelected &&
81-
'hover:bg-slate-200 focus-within:bg-slate-200',
81+
'bg-white hover:bg-slate-200 focus-within:bg-slate-200',
8282
isSelected &&
8383
'bg-blue-600 text-white focus-within:bg-blue-700 hover:bg-blue-700',
8484
hasSelectedAllOptions &&
8585
!isSelected &&
86-
'opacity-80 cursor-not-allowed'
86+
'bg-white opacity-80 cursor-not-allowed'
8787
)}
8888
>
8989
{pokemonType}

0 commit comments

Comments
 (0)