From 4f6fa5e7aa96ec984e66bda660cbffbe964093d5 Mon Sep 17 00:00:00 2001 From: Nate Kelley Date: Thu, 10 Apr 2025 14:30:01 -0600 Subject: [PATCH] fix broken dropzone placeholder --- .../ui/charts/BusterChartLegend/LegendDot.tsx | 16 ++++++++-------- .../components/ui/grid/BusterResizeColumns.tsx | 7 +++---- web/src/components/ui/grid/BusterResizeRows.tsx | 2 +- web/src/components/ui/popover/PopoverBase.tsx | 2 +- 4 files changed, 13 insertions(+), 14 deletions(-) diff --git a/web/src/components/ui/charts/BusterChartLegend/LegendDot.tsx b/web/src/components/ui/charts/BusterChartLegend/LegendDot.tsx index 9e03ec096..d77ade359 100644 --- a/web/src/components/ui/charts/BusterChartLegend/LegendDot.tsx +++ b/web/src/components/ui/charts/BusterChartLegend/LegendDot.tsx @@ -11,8 +11,8 @@ const itemVariants = cva( { variants: { size: { - sm: 'w-[8px] h-[12px]', - default: 'w-[18px] h-[12px]' + sm: 'w-2 h-3', + default: 'w-4.5 h-3' } } } @@ -25,9 +25,9 @@ const dotVariants = cva('bg-border transition-colors duration-100', { default: '' }, type: { - bar: 'w-[18px] h-[12px] rounded-sm', - line: 'w-[18px] h-[4px] rounded-sm', - scatter: 'w-[12px] h-[12px] rounded-full' + bar: 'w-4.5 h-3 rounded-sm', + line: 'w-4.5 h-1 rounded-sm', + scatter: 'w-3 h-3 rounded-full' } }, @@ -35,17 +35,17 @@ const dotVariants = cva('bg-border transition-colors duration-100', { { size: 'sm', type: 'bar', - className: 'w-[8px] h-[8px] rounded-[1.5px]' + className: 'w-2 h-2 rounded-[1.5px]' }, { size: 'sm', type: 'line', - className: 'w-[8px] h-[2px] rounded-1.5px' + className: 'w-2 h-0.5 rounded-1.5px' }, { size: 'sm', type: 'scatter', - className: 'w-[8px] h-[8px]' + className: 'w-2 h-2' } ] }); diff --git a/web/src/components/ui/grid/BusterResizeColumns.tsx b/web/src/components/ui/grid/BusterResizeColumns.tsx index 70ab4af65..26b2a76c3 100644 --- a/web/src/components/ui/grid/BusterResizeColumns.tsx +++ b/web/src/components/ui/grid/BusterResizeColumns.tsx @@ -211,10 +211,9 @@ const DropzonePlaceholder: React.FC<{ return (
@@ -231,7 +230,7 @@ const ColumnSash: React.FC<{ return (
= ({ children, trigger = 'click', ...p const content = trigger === 'hover' ? (
-
+
{children}
) : (