Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove extra space on Add Triage form #6215

Merged
merged 2 commits into from
Sep 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions src/Components/Facility/TriageForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -283,20 +283,20 @@ export const TriageForm = (props: triageFormProps) => {
handleSubmit();
}}
>
<div className="max-w-[250px] pb-4">
<DateFormField
required
name="entry_date"
label="Entry Date"
value={state.form.entry_date}
disableFuture
onChange={handleFormFieldChange}
position="LEFT"
placeholder="Entry Date"
error={state.errors.entry_date}
/>
</div>
<div className="mt-2 grid grid-cols-1 gap-4 md:grid-cols-2">
<div className="pb-4">
<DateFormField
required
name="entry_date"
label="Entry Date"
value={state.form.entry_date}
disableFuture
onChange={handleFormFieldChange}
position="LEFT"
placeholder="Entry Date"
error={state.errors.entry_date}
/>
</div>
<div>
<TextFormField
name="num_patients_visited"
Expand Down Expand Up @@ -348,7 +348,7 @@ export const TriageForm = (props: triageFormProps) => {
/>
</div>
</div>
<div className="mt-4 flex flex-col justify-between gap-2 md:flex-row">
<div className="mt-4 flex flex-col justify-end gap-2 md:flex-row">
<Cancel onClick={() => goBack()} />
<Submit label={buttonText} />
</div>
Expand Down