Skip to content

Commit dfafa38

Browse files
committed
Expanded Clickable area of Patient Summary and New Patient Form
1 parent dc30c6f commit dfafa38

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

frontend/src/pages/PatientManager/NewPatientForm.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,10 +299,11 @@ const NewPatientForm = ({
299299
<div className=" md:mx-0 md:p-0">
300300
<br/>
301301
{!enterNewPatient && (
302-
<div className="font_body rounded-md border bg-white p-2 px-3 ring-1 hover:ring-slate-300 md:p-4 md:px-8 lg:w-[860px] no-print">
302+
<div
303+
className="font_body rounded-md border bg-white p-2 px-3 ring-1 hover:ring-slate-300 md:p-4 md:px-8 lg:w-[860px] no-print"
304+
onClick={handleClickSummary}>
303305
<div
304306
className="flex items-center justify-between"
305-
onClick={handleClickSummary}
306307
>
307308
<h2 className="text-xl font-bold text-gray-600 cursor-pointer header_logo font-satoshi hover:text-blue-600 ">
308309
Click To Enter New Patient

frontend/src/pages/PatientManager/PatientSummary.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,9 +273,10 @@ const PatientSummary = ({
273273
<>
274274
<div className="justify-between lg:w-[860px]">
275275
{!showSummary && (
276-
<div className="font_body rounded-md border bg-white p-2 px-3 ring-1 hover:ring-slate-300 md:p-4 md:px-8 lg:w-[860px]">
276+
<div
277+
className="font_body rounded-md border bg-white p-2 px-3 ring-1 hover:ring-slate-300 md:p-4 md:px-8 lg:w-[860px]"
278+
onClick={handleClickSummary}>
277279
<div
278-
onClick={handleClickSummary}
279280
className="flex items-center justify-between"
280281
>
281282
<h2 className="text-xl font-bold text-gray-600 cursor-pointer header_logo font-satoshi hover:text-blue-600">

0 commit comments

Comments
 (0)