From bd4c42a11905b2ed74ea16703f4ff844474eb5d2 Mon Sep 17 00:00:00 2001 From: Adem ilter Date: Thu, 7 Nov 2024 16:15:17 +0300 Subject: [PATCH] style remove button --- .../display/delete-alert-dialog.tsx | 1 + .../components/display/display-list.tsx | 19 +++++++------------ 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/packages/react-databrowser/src/components/databrowser/components/display/delete-alert-dialog.tsx b/packages/react-databrowser/src/components/databrowser/components/display/delete-alert-dialog.tsx index a12ccd2..d10f767 100644 --- a/packages/react-databrowser/src/components/databrowser/components/display/delete-alert-dialog.tsx +++ b/packages/react-databrowser/src/components/databrowser/components/display/delete-alert-dialog.tsx @@ -19,6 +19,7 @@ export function DeleteAlertDialog({ return ( {children} + Irreversible Action! diff --git a/packages/react-databrowser/src/components/databrowser/components/display/display-list.tsx b/packages/react-databrowser/src/components/databrowser/components/display/display-list.tsx index b3e91f9..0f1ebf5 100644 --- a/packages/react-databrowser/src/components/databrowser/components/display/display-list.tsx +++ b/packages/react-databrowser/src/components/databrowser/components/display/display-list.tsx @@ -77,28 +77,23 @@ export const ListItems = ({ onClick={() => { setSelectedListItem({ key, value }) }} - className="h-10 border-b border-b-zinc-100 " + className="h-10 border-b border-b-zinc-100 hover:bg-zinc-50" > {key} {value !== undefined && ( - + {value} )} {type !== "stream" && ( - + { e.stopPropagation() @@ -111,8 +106,8 @@ export const ListItems = ({ }) }} > -