fix overflow on mobile (#2037)

This commit is contained in:
Justin Domingue 2021-07-13 10:11:50 -07:00 committed by GitHub
parent a186833b7a
commit f9de85251c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -51,7 +51,7 @@ function InfoBox({ message, icon }: { message?: ReactNode; icon: ReactNode }) {
<ColumnCenter style={{ height: '100%', justifyContent: 'center' }}>
{icon}
{message && (
<TYPE.mediumHeader padding={10} marginTop="20px">
<TYPE.mediumHeader padding={10} marginTop="20px" textAlign="center">
{message}
</TYPE.mediumHeader>
)}