From 709d8667b6ba6dc7a23ff93bb3c8772de1ea48b6 Mon Sep 17 00:00:00 2001 From: Rithvik Nishad Date: Mon, 30 Dec 2024 04:20:11 +0000 Subject: [PATCH] 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",