From 051817ced53c1f94126f79fa1e37ff54da2f1b20 Mon Sep 17 00:00:00 2001 From: Felix Feng Date: Wed, 25 Dec 2024 20:04:26 +0800 Subject: [PATCH] fix --- .../registry/default/plate-ui/table-dropdown-menu.tsx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/apps/www/src/registry/default/plate-ui/table-dropdown-menu.tsx b/apps/www/src/registry/default/plate-ui/table-dropdown-menu.tsx index fb62e0fbd5..0983df6f3d 100644 --- a/apps/www/src/registry/default/plate-ui/table-dropdown-menu.tsx +++ b/apps/www/src/registry/default/plate-ui/table-dropdown-menu.tsx @@ -98,10 +98,7 @@ export function TableDropdownMenu(props: DropdownMenuProps) { Table - +
{table.map((rows, rowIndex) => rows.map((value, columIndex) => { @@ -110,7 +107,7 @@ export function TableDropdownMenu(props: DropdownMenuProps) { key={`(${rowIndex},${columIndex})`} className={cn( 'col-span-1 size-3 border border-solid bg-secondary', - !!value && 'border-brand' + !!value && 'border-current' )} onMouseMove={() => { onCellMove(rowIndex, columIndex); @@ -124,7 +121,7 @@ export function TableDropdownMenu(props: DropdownMenuProps) {
{info.rowCount} x {info.colCount}
- +