Skip to content

Commit

Permalink
Increase width of medical history text area in patient registration f…
Browse files Browse the repository at this point in the history
…orm #8763 (#8797)
  • Loading branch information
abhip161 authored Oct 21, 2024
1 parent 5c39b2c commit 30f160e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Components/Patient/PatientRegister.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,7 @@ export const PatientRegister = (props: PatientRegisterProps) => {
const checkboxField = `medical_history_check_${id}`;
const textField = `medical_history_${id}`;
return (
<div key={textField}>
<div key={textField} className="w-full md:w-auto">
<div>
<CheckBoxFormField
value={(field("medical_history").value ?? []).includes(id)}
Expand All @@ -876,7 +876,7 @@ export const PatientRegister = (props: PatientRegisterProps) => {
/>
</div>
{id !== 1 && (field("medical_history").value ?? []).includes(id) && (
<div className="mx-4">
<div className="mx-4 flex flex-col">
<TextAreaFormField
{...field(textField)}
placeholder="Details"
Expand Down

0 comments on commit 30f160e

Please sign in to comment.