From 6cf6e040af390d12e796f4bee111c62a6a46df37 Mon Sep 17 00:00:00 2001 From: Omkar76 Date: Wed, 8 Nov 2023 23:09:03 +0530 Subject: [PATCH] Improve rounding of the preset buttons. Fixes #6555 --- src/Components/Facility/Consultations/Feed.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Components/Facility/Consultations/Feed.tsx b/src/Components/Facility/Consultations/Feed.tsx index ac39be325e9..5e57186cde0 100644 --- a/src/Components/Facility/Consultations/Feed.tsx +++ b/src/Components/Facility/Consultations/Feed.tsx @@ -459,9 +459,9 @@ export const Feed: React.FC = ({ consultationId, facilityId }) => { getCameraStatus({}); }} className={classNames( - "block border border-gray-500 px-4 py-2", + "block border border-gray-500 px-4 py-2 first:rounded-l last:rounded-r", currentPreset === preset - ? "rounded border-primary-500 bg-primary-500 text-white" + ? "border-primary-500 bg-primary-500 text-white" : "bg-transparent" )} >