Auto resize values when they'd overflow the container

This commit is contained in:
DaneEveritt 2022-06-25 21:27:18 -04:00
parent 182507ff0e
commit 76f3b996fe
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
5 changed files with 24 additions and 10 deletions

View file

@ -146,11 +146,7 @@ const ServerDetailsBlock = ({ className }: { className?: string }) => {
bytesToHuman(stats.rx)
}
</StatBlock>
<StatBlock
icon={faWifi}
title={'Address'}
description={`You can connect to your server at: ${allocation}`}
>
<StatBlock icon={faWifi} title={'Address'}>
{allocation}
</StatBlock>
</div>