fix: card component update to handle paragon breaking changes
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user