Fix text overflows through out the front end (#2406)

This commit is contained in:
Oreo Oreoniv 2020-10-03 21:22:37 +03:00 committed by GitHub
parent 6893f9bfcd
commit 10eeae0927
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 3 deletions

View file

@ -55,7 +55,9 @@ export default ({ backup, className }: Props) => {
Failed
</span>
}
{backup.name}
<div css={tw`break-all`}>
{backup.name}
</div>
{(backup.completedAt && backup.isSuccessful) &&
<span css={tw`ml-3 text-neutral-300 text-xs font-thin hidden sm:inline`}>{bytesToHuman(backup.bytes)}</span>
}