From 6ad183ab893710311895fcc3be8b250d17ffa9e3 Mon Sep 17 00:00:00 2001 From: zhom <2717306+zhom@users.noreply.github.com> Date: Sun, 30 Nov 2025 23:29:07 +0400 Subject: [PATCH] style: profile table cleanup --- src/components/bandwidth-mini-chart.tsx | 4 +++- src/components/profile-data-table.tsx | 15 +++++++++------ 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/src/components/bandwidth-mini-chart.tsx b/src/components/bandwidth-mini-chart.tsx index dcb029b..3fe2001 100644 --- a/src/components/bandwidth-mini-chart.tsx +++ b/src/components/bandwidth-mini-chart.tsx @@ -73,7 +73,7 @@ export function BandwidthMiniChart({ className, )} > -
+
diff --git a/src/components/profile-data-table.tsx b/src/components/profile-data-table.tsx index d8b36f5..e602d29 100644 --- a/src/components/profile-data-table.tsx +++ b/src/components/profile-data-table.tsx @@ -331,7 +331,9 @@ const TagsCell = React.memo<{ ref={containerRef as unknown as React.RefObject} className={cn( "flex overflow-hidden gap-1 items-center px-2 py-1 h-6 w-full bg-transparent rounded border-none cursor-pointer", - isDisabled ? "opacity-60" : "cursor-pointer hover:bg-accent/50", + isDisabled + ? "opacity-60 cursor-not-allowed" + : "cursor-pointer hover:bg-accent/50", )} onClick={() => { if (!isDisabled) setOpenTagsEditorFor(profile.id); @@ -354,7 +356,7 @@ const TagsCell = React.memo<{ ); return ( -
+
{ButtonContent} {hiddenCount > 0 && ( @@ -380,13 +382,13 @@ const TagsCell = React.memo<{ return (
isRunning