From 528a13694e541a51eff98d482463ae10206f6eb3 Mon Sep 17 00:00:00 2001 From: Pranshu Aggarwal Date: Thu, 1 Jun 2023 01:15:30 +0530 Subject: [PATCH] make buttons full width --- src/Components/Patient/FileUpload.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Components/Patient/FileUpload.tsx b/src/Components/Patient/FileUpload.tsx index 2455009081..3a148f9ba3 100644 --- a/src/Components/Patient/FileUpload.tsx +++ b/src/Components/Patient/FileUpload.tsx @@ -1582,7 +1582,7 @@ export const FileUpload = (props: FileUploadProps) => { {({ isAuthorized }) => isAuthorized ? ( - - setModalOpenForCamera(true)}> + setModalOpenForCamera(true)} + className="w-full md:w-auto" + > Open Camera @@ -1605,6 +1608,7 @@ export const FileUpload = (props: FileUploadProps) => { authorizeFor={NonReadOnlyUsers} disabled={!file || !uploadFileName || !isActive} onClick={() => handleUpload({ status })} + className="w-full md:w-auto" > {t("upload")}