From 7f51ddb1033af4593337e1075e35965e6659408b Mon Sep 17 00:00:00 2001 From: Karan Dugar Date: Sat, 26 Sep 2026 00:01:47 +0530 Subject: [PATCH] fix: border radius for modals --- src/components/ui/PinnedModal.tsx | 2 +- src/components/ui/RequestModal.tsx | 2 +- src/components/ui/dialog.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/ui/PinnedModal.tsx b/src/components/ui/PinnedModal.tsx index 0c6349a..d74110f 100644 --- a/src/components/ui/PinnedModal.tsx +++ b/src/components/ui/PinnedModal.tsx @@ -63,7 +63,7 @@ const SortableItem = ({ ref={setNodeRef} style={style} {...attributes} - className={`mb-2 flex items-center justify-between rounded-2xl border border-[#3A3745] px-2 py-1 pl-2 shadow-sm ${ + className={`mb-2 flex items-center justify-between rounded-md border border-[#3A3745] px-4 py-2 pl-2 shadow-sm ${ isDragging ? "scale-[1.02] cursor-grabbing opacity-90" : "cursor-grab" }`} > diff --git a/src/components/ui/RequestModal.tsx b/src/components/ui/RequestModal.tsx index 3db869a..88e07a8 100644 --- a/src/components/ui/RequestModal.tsx +++ b/src/components/ui/RequestModal.tsx @@ -137,7 +137,7 @@ const RequestModal = ({section = "navbar"} : {section? : string}) => { value={searchText} onChange={(e) => setSearchText(e.target.value)} placeholder="Search by subject..." - className={`text-md rounded-2xl bg-[#B2B8FF] px-4 py-6 pr-10 font-play tracking-wider text-black shadow-sm ring-0 placeholder:text-black focus:outline-none focus:ring-0 dark:bg-[#7480FF66] dark:text-white placeholder:dark:text-white ${suggestions.length > 0 ? "rounded-b-none" : ""}`} + className={`text-md rounded-md bg-[#B2B8FF] px-4 py-6 pr-10 font-play tracking-wider text-black shadow-sm ring-0 placeholder:text-black focus:outline-none focus:ring-0 dark:bg-[#7480FF66] dark:text-white placeholder:dark:text-white ${suggestions.length > 0 ? "rounded-b-none" : ""}`} />