-
- {this.renderPrevButton(install.step)}
- {this.renderNextButton(install.step)}
-
+ {this.renderPrevButton(install.step)}
+ {this.renderNextButton(install.step)}
);
}
diff --git a/client_v2/src/install/Setup/Setup.css b/client_v2/src/install/Setup/Setup.css
index d5d130b8..f22442b1 100644
--- a/client_v2/src/install/Setup/Setup.css
+++ b/client_v2/src/install/Setup/Setup.css
@@ -52,7 +52,9 @@
}
.setup__nav {
- text-align: center;
+ display: flex;
+ gap: 16px;
+ justify-content: center;
}
.setup__step {
@@ -130,9 +132,7 @@
}
.setup__button {
- min-width: 120px;
- padding-left: 30px;
- padding-right: 30px;
+ max-width: 200px;
}
.setup__error {
diff --git a/client_v2/src/login/Login/Form.tsx b/client_v2/src/login/Login/Form.tsx
index 10cae9ef..3d1bebef 100644
--- a/client_v2/src/login/Login/Form.tsx
+++ b/client_v2/src/login/Login/Form.tsx
@@ -1,8 +1,9 @@
import React from 'react';
import { Controller, useForm } from 'react-hook-form';
import { useTranslation } from 'react-i18next';
-import { Input } from '../../components/ui/Controls/Input';
-import { validateRequiredValue } from '../../helpers/validators';
+import { validateRequiredValue } from 'panel/helpers/validators';
+import { Input } from 'panel/common/controls/Input';
+import { Button } from 'panel/common/ui/Button';
export type LoginFormValues = {
username: string;
@@ -39,14 +40,14 @@ const Form = ({ onSubmit, processing }: LoginFormProps) => {
render={({ field, fieldState }) => (