From 32faa4925a4677c924119e8c2edd411297a3ecb3 Mon Sep 17 00:00:00 2001 From: Juliet Date: Mon, 1 Dec 2025 17:42:52 +0000 Subject: [PATCH] fix submenu padding --- src/components/dropdown.tsx | 8 ++++---- src/layout.tsx | 2 +- src/views/pds.tsx | 2 +- src/views/record.tsx | 2 +- src/views/repo.tsx | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/dropdown.tsx b/src/components/dropdown.tsx index 8e509f6..c10bf8a 100644 --- a/src/components/dropdown.tsx +++ b/src/components/dropdown.tsx @@ -33,7 +33,7 @@ export const CopyMenu = (props: { content: string; label: string; icon?: string addToClipboard(props.content); ctx?.setShowMenu(false); }} - class="flex items-center gap-1.5 rounded-md p-1 whitespace-nowrap hover:bg-neutral-200/50 active:bg-neutral-200 dark:hover:bg-neutral-700 dark:active:bg-neutral-600" + class="flex items-center gap-2 rounded-md p-1.5 whitespace-nowrap hover:bg-neutral-200/50 active:bg-neutral-200 dark:hover:bg-neutral-700 dark:active:bg-neutral-600" > @@ -56,7 +56,7 @@ export const NavMenu = (props: { ctx?.setShowMenu(false)} - class="flex items-center gap-1.5 rounded-md p-1 hover:bg-neutral-200/50 active:bg-neutral-200 dark:hover:bg-neutral-700 dark:active:bg-neutral-600" + class="flex items-center gap-2 rounded-md p-1.5 hover:bg-neutral-200/50 active:bg-neutral-200 dark:hover:bg-neutral-700 dark:active:bg-neutral-600" classList={{ "justify-between": props.external }} target={props.newTab ? "_blank" : undefined} > @@ -79,7 +79,7 @@ export const ActionMenu = (props: { return (