Skip to content

Commit

Permalink
Icon overlapping with text in text-box of Patient's Notes. ohcnetwork…
Browse files Browse the repository at this point in the history
  • Loading branch information
Sulochan-khadka committed Apr 11, 2024
1 parent d615772 commit a1e1e68
Showing 1 changed file with 25 additions and 21 deletions.
46 changes: 25 additions & 21 deletions src/Components/Patient/PatientNotes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,27 +104,31 @@ const PatientNotes = (props: PatientNotesProps) => {
/>

<div className="relative mx-4 flex items-center">
<TextFormField
name="note"
value={noteField}
onChange={(e) => setNoteField(e.value)}
className="grow"
type="text"
errorClassName="hidden"
placeholder="Type your Note"
disabled={!patientActive}
/>
<ButtonV2
onClick={onAddNote}
border={false}
className="absolute right-2"
ghost
size="small"
disabled={!patientActive}
authorizeFor={NonReadOnlyUsers}
>
<CareIcon icon="l-message" className="text-lg" />
</ButtonV2>
<div className=" w-full px-12">
<TextFormField
name="note"
value={noteField}
onChange={(e) => setNoteField(e.value)}
className="grow"
type="text"
errorClassName="hidden"
placeholder="Type your Note"
disabled={!patientActive}
/>
</div>
<div className="flex items-center">
<ButtonV2
onClick={onAddNote}
border={false}
className="absolute right-2"
ghost
size="small"
disabled={!patientActive}
authorizeFor={NonReadOnlyUsers}
>
<CareIcon icon="l-message" className="text-lg" />
</ButtonV2>
</div>
</div>
</div>
</Page>
Expand Down

0 comments on commit a1e1e68

Please sign in to comment.