More mobile cleanup

This commit is contained in:
Dane Everitt 2020-09-13 10:49:57 -07:00
parent 47283700a8
commit f1978683cc
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
7 changed files with 22 additions and 18 deletions

View file

@ -68,7 +68,11 @@ const NetworkContainer = () => {
<Spinner size={'large'} centered/>
:
data.map(({ id, ip, port, alias, notes, isDefault }, index) => (
<GreyRowBox key={`${ip}:${port}`} css={index > 0 ? tw`mt-2 overflow-x-auto` : tw`overflow-x-auto`} $hoverable={false}>
<GreyRowBox
$hoverable={false}
key={`${ip}:${port}`}
css={index > 0 ? tw`mt-2 overflow-x-auto` : tw`overflow-x-auto`}
>
<div css={tw`hidden md:block pl-4 pr-6 text-neutral-400`}>
<FontAwesomeIcon icon={faNetworkWired}/>
</div>
@ -90,7 +94,7 @@ const NetworkContainer = () => {
/>
</InputSpinner>
</div>
<div css={tw`w-32 text-right mr-2 md:mr-0`}>
<div css={tw`w-32 text-right pr-4 sm:pr-0`}>
{isDefault ?
<span css={tw`bg-green-500 py-1 px-2 rounded text-green-50 text-xs`}>
Primary