From 78ca6da307a22c2324c37887cfe08a90d2f704e6 Mon Sep 17 00:00:00 2001 From: shashified Date: Tue, 19 May 2026 21:30:44 +0530 Subject: [PATCH 1/3] 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 b977941..6c358fb 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/3] 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 6c358fb..e710f9d 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/3] 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 eee4a1f..53b65fb 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 e710f9d..97489a3 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} /> ));