I have this div
:
<div className="cert-footer">
<Button
type="submit"
primary={true}
fullWidth={false}
>
Confirm
</Button>
</div>
My CSS for this is:
.cert-footer {
padding-bottom: 20px;
align-items: center;
}
The button will not center. Instead it displays to the left but the bottom padding of 20px is visible. What am I doing wrong?
add this CSS to your code