make border consistent

This commit is contained in:
ingawei 2022-09-16 15:15:36 -07:00
parent c7239df3f0
commit ee6b463f94

View File

@ -125,12 +125,12 @@ export function SignedInBinaryMobileBetting(props: {
<Row className="w-full"> <Row className="w-full">
<button <button
className={clsx( className={clsx(
'w-1/2 rounded-full py-2', 'w-1/2 rounded-full border-2 border-emerald-500 py-2',
betChoice == betChoiceState.YES betChoice == betChoiceState.YES
? 'bg-emerald-500 text-white' ? 'bg-emerald-500 text-white'
: betChoice == betChoiceState.NO : betChoice == betChoiceState.NO
? 'border-greyscale-4 text-greyscale-4 bg-white' ? 'border-greyscale-4 text-greyscale-4 bg-white'
: 'border-2 border-emerald-500 bg-white text-emerald-500' : 'bg-white text-emerald-500'
)} )}
onClick={() => { onClick={() => {
if (betChoice == betChoiceState.YES) { if (betChoice == betChoiceState.YES) {