Currently, I'm working on a div
.
<div className="cert-footer">
<Button
type="submit"
primary={true}
fullWidth={false}
>
Confirm
</Button>
</div>
The CSS I have for it includes:
.cert-footer {
padding-bottom: 20px;
align-items: center;
}
Despite setting the padding to be 20px from the bottom and trying to center the button with align-items, it still appears towards the left side. What could be causing this misalignment?