centered card text. h3 -> h5

This commit is contained in:
Giulio De Pasquale 2020-12-16 17:58:46 +00:00
parent 2a6dc24300
commit 1bc46e421c

View File

@ -18,12 +18,12 @@ class HCard extends Component<CardProps> {
<Card bg="light" style={{minWidth: "15rem"}} className="mx-auto">
<Row className="no-gutters">
<Col md={7} className="border-right my-auto">
<h3 className="text-center">{this.props.title}</h3>
<h5 className="text-center my-auto">{this.props.title}</h5>
</Col>
<Col md={5}>
<Card.Body>
<Card.Text className="text-center">
<Card.Text className="text-center my-auto">
{this.props.content}
</Card.Text>
</Card.Body>