fix: card component update to handle paragon breaking changes

This commit is contained in:
Mehak Nasir
2022-03-09 17:07:50 +05:00
committed by Mehak Nasir
parent 78938913c0
commit 3cbb7e0fc3

View File

@@ -39,13 +39,11 @@ function DiscussionPostType({
<label htmlFor={`post-type-${value}`} className="d-flex p-0 my-0 mr-3">
<Form.Radio value={value} id={`post-type-${value}`} className="sr-only">{type}</Form.Radio>
<Card className={selected ? 'border border-primary border-2' : ''} isClickable>
<Card.Body className="p-3">
<Card.Text className="d-flex flex-column align-items-center">
<span className="text-gray-900">{icon}</span>
<span>{type}</span>
<span className="x-small text-gray-500">{description}</span>
</Card.Text>
</Card.Body>
<Card.Section className="p-3 d-flex flex-column align-items-center">
<span className="text-gray-900">{icon}</span>
<span>{type}</span>
<span className="x-small text-gray-500">{description}</span>
</Card.Section>
</Card>
</label>
);