More mobile cleanup
This commit is contained in:
parent
47283700a8
commit
f1978683cc
7 changed files with 22 additions and 18 deletions
|
@ -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
|
||||
|
|
Reference in a new issue