From 709d8667b6ba6dc7a23ff93bb3c8772de1ea48b6 Mon Sep 17 00:00:00 2001 From: Rithvik Nishad Date: Mon, 30 Dec 2024 04:20:11 +0000 Subject: [PATCH 1/2] fixes address and patient note card multi-line issue (#9607) --- src/components/Facility/PatientNoteCard.tsx | 4 +++- src/components/Form/Form.tsx | 5 ----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/components/Facility/PatientNoteCard.tsx b/src/components/Facility/PatientNoteCard.tsx index 4d5a9ffa89c..49c8cf4204b 100644 --- a/src/components/Facility/PatientNoteCard.tsx +++ b/src/components/Facility/PatientNoteCard.tsx @@ -213,7 +213,9 @@ const PatientNoteCard = ({ ) : ( -
{noteField}
+
+ {noteField} +
)} } diff --git a/src/components/Form/Form.tsx b/src/components/Form/Form.tsx index 18f190ccc3c..5a3bf552b26 100644 --- a/src/components/Form/Form.tsx +++ b/src/components/Form/Form.tsx @@ -98,11 +98,6 @@ const Form = ({ return (
{ - if (e.key === "Enter") { - handleSubmit(e); - } - }} className={classNames( "mx-auto w-full", !props.noPadding && "px-8 py-5 md:px-16 md:py-11", From e34f178fd7aa446d1e9940eb574e5306d44085a9 Mon Sep 17 00:00:00 2001 From: Aditya Jindal Date: Mon, 30 Dec 2024 12:31:22 +0530 Subject: [PATCH 2/2] Fix: PatientNoteCard Text Overflowing and Current Address (#9609) --- src/components/Common/Breadcrumbs.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Common/Breadcrumbs.tsx b/src/components/Common/Breadcrumbs.tsx index f55edd4ccf6..3ccc5494f75 100644 --- a/src/components/Common/Breadcrumbs.tsx +++ b/src/components/Common/Breadcrumbs.tsx @@ -97,6 +97,7 @@ export default function Breadcrumbs({