diff --git a/client/src/pages/patients/register/PatientRegistrationAccordion.jsx b/client/src/pages/patients/register/PatientRegistrationAccordion.jsx
index 4a3caee2..6af045fc 100644
--- a/client/src/pages/patients/register/PatientRegistrationAccordion.jsx
+++ b/client/src/pages/patients/register/PatientRegistrationAccordion.jsx
@@ -1,6 +1,6 @@
import PropTypes from 'prop-types';
-import { Accordion, TextInput, Select, InputBase } from '@mantine/core';
+import { Accordion, TextInput, Select, Stack, InputBase } from '@mantine/core';
import { DateInput } from '@mantine/dates';
import { TbCircleCheck as IconCircleCheck } from 'react-icons/tb';
import { IMaskInput } from 'react-imask';
@@ -9,7 +9,7 @@ import { humanize } from 'inflection';
import MedicalDataSearch from './inputs/MedicalDataSearch';
import HealthcareChoicesSearch from './inputs/HealthcareChoicesSearch';
-import classes from './PatientRegistationAccordion.module.css';
+import classes from './PatientRegistrationAccordion.module.css';
const PatientRegistrationAccordionProps = {
form: PropTypes.object.isRequired,
@@ -66,60 +66,62 @@ export default function PatientRegistrationAccordion ({
: null}
-
-
-
-
@@ -133,49 +135,51 @@ export default function PatientRegistrationAccordion ({
: null}
-
-
-
-
-
- ({
- value,
- label: humanize(value),
- }))}
- searchable
- key={form.key('contactData.relationship')}
- {...form.getInputProps('contactData.relationship')}
- />
+
+
+
+
+
+
+ ({
+ value,
+ label: humanize(value),
+ }))}
+ searchable
+ key={form.key('contactData.relationship')}
+ {...form.getInputProps('contactData.relationship')}
+ />
+
@@ -189,16 +193,18 @@ export default function PatientRegistrationAccordion ({
: null}
- {Object.keys(form.getValues().medicalData).map((category) => {
- return (
-
- );
- })}
+
+ {Object.keys(form.getValues().medicalData).map((category) => {
+ return (
+
+ );
+ })}
+
@@ -212,16 +218,18 @@ export default function PatientRegistrationAccordion ({
: null}
-
-
+
+
+
+
@@ -235,17 +243,19 @@ export default function PatientRegistrationAccordion ({
: null}
- ({
- value,
- label: humanize(value),
- }))}
- searchable
- key={form.key('codeStatus')}
- {...form.getInputProps('codeStatus')}
- />
+
+ ({
+ value,
+ label: humanize(value),
+ }))}
+ searchable
+ key={form.key('codeStatus')}
+ {...form.getInputProps('codeStatus')}
+ />
+
diff --git a/client/src/pages/patients/register/PatientRegistationAccordion.module.css b/client/src/pages/patients/register/PatientRegistrationAccordion.module.css
similarity index 67%
rename from client/src/pages/patients/register/PatientRegistationAccordion.module.css
rename to client/src/pages/patients/register/PatientRegistrationAccordion.module.css
index e416a442..051d288c 100644
--- a/client/src/pages/patients/register/PatientRegistationAccordion.module.css
+++ b/client/src/pages/patients/register/PatientRegistrationAccordion.module.css
@@ -1,5 +1,6 @@
.control {
font-weight: 600;
+ padding-inline: 0 !important;
}
.label {
@@ -9,3 +10,7 @@
font-size: 1.5rem;
margin-right: 1rem;
}
+
+.content {
+ padding-inline: 0 !important;
+}
diff --git a/client/vite.config.js b/client/vite.config.js
index f5705503..f02a559c 100644
--- a/client/vite.config.js
+++ b/client/vite.config.js
@@ -5,6 +5,7 @@ import react from '@vitejs/plugin-react-swc';
export default defineConfig({
plugins: [react()],
server: {
+ allowedHosts: true,
proxy: {
'/api': {
target: 'http://0.0.0.0:5100',