fix(ui): reduce spacing between primary key icon and short field types (#816)

This commit is contained in:
Guy Ben-Aharon
2025-07-31 11:04:48 +03:00
committed by GitHub
parent eed104be5b
commit 984b2aeee2

View File

@@ -383,7 +383,8 @@ export const TableNodeField: React.FC<TableNodeFieldProps> = React.memo(
<div
className={cn(
'content-center text-right text-xs text-muted-foreground overflow-hidden min-w-[3rem] max-w-[8rem]',
'content-center text-right text-xs text-muted-foreground overflow-hidden max-w-[8rem]',
field.primaryKey ? 'min-w-0' : 'min-w-[3rem]',
!readonly ? 'group-hover:hidden' : '',
isDiffFieldRemoved
? 'text-red-800 dark:text-red-200'