[questions][fix] fix ContributeQuestionCard width

pull/451/head
Jeff Sieu 3 years ago
parent bd3a546084
commit 8be5227db5

@ -28,7 +28,6 @@ export default function ContributeQuestionCard({
}; };
return ( return (
<div>
<button <button
className="flex flex-col items-stretch justify-center gap-2 rounded-md border border-slate-300 bg-white p-4 text-left hover:bg-slate-100" className="flex flex-col items-stretch justify-center gap-2 rounded-md border border-slate-300 bg-white p-4 text-left hover:bg-slate-100"
type="button" type="button"
@ -72,12 +71,11 @@ export default function ContributeQuestionCard({
Contribute Contribute
</h1> </h1>
</div> </div>
</button>
<ContributeQuestionDialog <ContributeQuestionDialog
show={showDraftDialog} show={showDraftDialog}
onCancel={handleDraftDialogCancel} onCancel={handleDraftDialogCancel}
onSubmit={onSubmit} onSubmit={onSubmit}
/> />
</div> </button>
); );
} }

Loading…
Cancel
Save