From 78ca6da307a22c2324c37887cfe08a90d2f704e6 Mon Sep 17 00:00:00 2001 From: shashified Date: Tue, 19 May 2026 21:30:44 +0530 Subject: [PATCH 1/4] Fix dropdown hover border radius --- src/components/ui/PinnedModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ui/PinnedModal.tsx b/src/components/ui/PinnedModal.tsx index b9779419..6c358fbe 100644 --- a/src/components/ui/PinnedModal.tsx +++ b/src/components/ui/PinnedModal.tsx @@ -180,7 +180,7 @@ const PinnedModal = ({ }} > {page === "Navbar" ? ( - + {triggerName} From 5f1db7f366b69b0e542e285855c44eaedc0659c1 Mon Sep 17 00:00:00 2001 From: shashified Date: Tue, 19 May 2026 21:32:03 +0530 Subject: [PATCH 2/4] fixed hover issue --- src/components/ui/PinnedModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ui/PinnedModal.tsx b/src/components/ui/PinnedModal.tsx index 6c358fbe..e710f9da 100644 --- a/src/components/ui/PinnedModal.tsx +++ b/src/components/ui/PinnedModal.tsx @@ -180,7 +180,7 @@ const PinnedModal = ({ }} > {page === "Navbar" ? ( - + {triggerName} From c92a721a1c3b74cfa3e7a17438c49c6f0c10f9a3 Mon Sep 17 00:00:00 2001 From: shashified Date: Thu, 21 May 2026 15:30:52 +0530 Subject: [PATCH 3/4] Fix dropdown hover radius alignment --- src/components/FloatingNavbar.tsx | 28 +++++++++++++++------------- src/components/ui/PinnedModal.tsx | 4 ++-- src/components/ui/dropdown-menu.tsx | 8 ++++---- 3 files changed, 21 insertions(+), 19 deletions(-) diff --git a/src/components/FloatingNavbar.tsx b/src/components/FloatingNavbar.tsx index eee4a1f8..53b65fb8 100644 --- a/src/components/FloatingNavbar.tsx +++ b/src/components/FloatingNavbar.tsx @@ -43,7 +43,7 @@ export default function FloatingNavbar({ onNavigate }: Props) { onNavigate()} - className="flex w-full items-center gap-3 rounded-lg px-3 py-1 hover:bg-[#1A1823] transition" + className="flex w-full items-center gap-3 rounded-md px-3 py-1 hover:bg-[#1A1823] transition" > @@ -62,18 +62,20 @@ export default function FloatingNavbar({ onNavigate }: Props) { - e.preventDefault()}> -
- -
-
+ e.preventDefault()} + className="mx-1 my-1 hover:bg-[#1F2A3D]" +> + + - e.preventDefault()}> -
- -
-
-
+ e.preventDefault()} + className="mx-1 my-1 hover:bg-[#1F2A3D]" +> + + +
diff --git a/src/components/ui/PinnedModal.tsx b/src/components/ui/PinnedModal.tsx index e710f9da..97489a3d 100644 --- a/src/components/ui/PinnedModal.tsx +++ b/src/components/ui/PinnedModal.tsx @@ -55,7 +55,7 @@ const SortableItem = ({ ref={setNodeRef} style={style} {...attributes} - className={`mb-2 flex items-center justify-between rounded-md border border-[#3A3745] px-4 py-2 pl-2 shadow-sm ${ + className={`mb-2 flex items-center justify-between rounded-2xl border border-[#3A3745] px-2 py-1 pl-2 shadow-sm ${ isDragging ? "scale-[1.02] cursor-grabbing opacity-90" : "cursor-grab" }`} > @@ -206,7 +206,7 @@ const PinnedModal = ({
-
+
{displayPapers.length > 0 ? ( svg]:size-4 [&>svg]:shrink-0", - inset && "pl-8", - className, - )} + "relative flex cursor-default select-none items-center gap-2 rounded-xl px-2 py-1.5 text-sm outline-none transition-colors hover:bg-[#1F2A3D] focus:bg-[#1F2A3D] text-white data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0", + inset && "pl-8", + className, +)} {...props} /> )); From c30a2ac71b98475bfd1790a3528707792d4e414e Mon Sep 17 00:00:00 2001 From: Yogesh Date: Tue, 16 Jun 2026 22:20:36 +0530 Subject: [PATCH 4/4] fix --- src/components/ui/RequestModal.tsx | 4 ++-- src/components/ui/dialog.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/ui/RequestModal.tsx b/src/components/ui/RequestModal.tsx index 23339e81..7ba348da 100644 --- a/src/components/ui/RequestModal.tsx +++ b/src/components/ui/RequestModal.tsx @@ -143,7 +143,7 @@ const RequestModal = ({section = "navbar"} : {section? : string}) => { value={searchText} onChange={(e) => setSearchText(e.target.value)} placeholder="Search by subject..." - className={`text-md rounded-lg 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-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" : ""}`} />