From 3456df4cf1b8a92adb0312c38f21ac0bcd31afd2 Mon Sep 17 00:00:00 2001 From: Pablo Lara Date: Mon, 20 Jan 2025 17:23:19 +0100 Subject: [PATCH] fix(snippet-id): improve provider ID readability in tables (#6615) --- ui/components/providers/table/column-providers.tsx | 2 +- ui/components/ui/entities/snippet-id.tsx | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/ui/components/providers/table/column-providers.tsx b/ui/components/providers/table/column-providers.tsx index 8933798935..f31c199920 100644 --- a/ui/components/providers/table/column-providers.tsx +++ b/ui/components/providers/table/column-providers.tsx @@ -70,7 +70,7 @@ export const ColumnProviders: ColumnDef[] = [ const { attributes: { uid }, } = getProviderData(row); - return ; + return ; }, }, { diff --git a/ui/components/ui/entities/snippet-id.tsx b/ui/components/ui/entities/snippet-id.tsx index 809e73088a..c485763070 100644 --- a/ui/components/ui/entities/snippet-id.tsx +++ b/ui/components/ui/entities/snippet-id.tsx @@ -1,4 +1,4 @@ -import { Snippet } from "@nextui-org/react"; +import { Snippet, Tooltip } from "@nextui-org/react"; import React from "react"; import { CopyIcon, DoneIcon, IdIcon } from "@/components/icons"; @@ -10,7 +10,7 @@ interface SnippetIdProps { export const SnippetId: React.FC = ({ entityId, ...props }) => { return ( = ({ entityId, ...props }) => { >

- - {entityId} - + + + {entityId} + +

);