Skip to content

Database diagrams editor that allows you to visualize and design your DB with a single query.

fix table fields & types overflow

Guy Ben-Aharon8113066038b8
diff --git a/src/pages/editor-page/canvas/table-node-field.tsx b/src/pages/editor-page/canvas/table-node-field.tsx
index 2c7c5ea5..dffa1165 100644
--- a/src/pages/editor-page/canvas/table-node-field.tsx
+++ b/src/pages/editor-page/canvas/table-node-field.tsx
@@ -90,7 +90,7 @@ export const TableNodeField: React.FC<TableNodeFieldProps> = ({
</>
)}
<div className="block truncate text-left">{field.name}</div>
- <div className="flex justify-end gap-2 truncate hover:shrink-0">
+ <div className="flex max-w-[35%] justify-end gap-2 truncate hover:shrink-0">
{field.primaryKey ? (
<div className="text-muted-foreground group-hover:hidden">
<KeyRound size={14} />