Skip to content

Commit

Permalink
fix: fix formatting of add network ui, closes leather-io/issues#5735
Browse files Browse the repository at this point in the history
  • Loading branch information
pete-watters committed Aug 19, 2024
1 parent d33df6f commit 8a76b5f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
24 changes: 12 additions & 12 deletions src/app/features/add-network/add-network-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,18 +132,6 @@ export function AddNetworkForm() {
</Select.Portal>
</Select.Root>

<Title>Stacks API URL</Title>
<Input.Root>
<Input.Label>Name</Input.Label>
<Input.Field
height="inputHeight"
onChange={handleChange}
name="stacksUrl"
value={values.stacksUrl}
width="100%"
data-testid={NetworkSelectors.NetworkStacksAddress}
/>
</Input.Root>
<Title>Bitcoin API URL</Title>
<Input.Root>
<Input.Label>Bitcoin API URL</Input.Label>
Expand All @@ -165,6 +153,18 @@ export function AddNetworkForm() {
width="100%"
/>
</Input.Root>
<Title>Stacks API URL</Title>
<Input.Root>
<Input.Label>Name</Input.Label>
<Input.Field
height="inputHeight"
onChange={handleChange}
name="stacksUrl"
value={values.stacksUrl}
width="100%"
data-testid={NetworkSelectors.NetworkStacksAddress}
/>
</Input.Root>
</>
);
}
1 change: 0 additions & 1 deletion src/app/features/add-network/add-network.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ export function AddNetwork() {
gap="space.05"
maxWidth="pageWidth"
px={['space.05', 'space.04']}
textAlign={['left', 'center']}
my="space.05"
>
<styled.span textStyle="body.02">
Expand Down

0 comments on commit 8a76b5f

Please sign in to comment.