Skip to content

Commit

Permalink
[console] - improved registration modal style
Browse files Browse the repository at this point in the history
  • Loading branch information
emilbon99 committed Sep 26, 2024
1 parent 826f8b2 commit 5e46e26
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions console/src/user/RegisterModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const registerLayout = ({
name: "User.Register",
window: {
resizable: false,
size: { height: 370, width: 700 },
size: { height: 425, width: 650 },
navTop: true,
...window,
},
Expand Down Expand Up @@ -96,10 +96,24 @@ export const RegisterModal = ({ onClose }: Layout.RendererProps): ReactElement =
<Align.Space direction="y">
<Align.Space direction="x">
<Form.Field<string> path="firstName" label="First Name">
{(p) => <Input.Text placeholder="Richard" {...p} />}
{(p) => (
<Input.Text
variant="natural"
level="h2"
placeholder="Richard"
{...p}
/>
)}
</Form.Field>
<Form.Field<string> path="lastName" label="Last Name">
{(p) => <Input.Text placeholder="Feynman" {...p} />}
{(p) => (
<Input.Text
variant="natural"
level="h2"
placeholder="Feynman"
{...p}
/>
)}
</Form.Field>
</Align.Space>
<Form.Field<string> path="username">
Expand Down

0 comments on commit 5e46e26

Please sign in to comment.