Database diagrams editor that allows you to visualize and design your DB with a single query.
TypeScript databasedbdb-migrationeditorerdmariadbmssqlmysqlpostgresqlreactreact-flowschema-migrationssqlsqlitetypescriptvisualizationxyflow
fix open diagram table row height
Guy Ben-Aharon9219b821ab03
diff --git a/src/dialogs/open-diagram-dialog/open-diagram-dialog.tsx b/src/dialogs/open-diagram-dialog/open-diagram-dialog.tsxindex 416e92a3..a9f3f49b 100644--- a/src/dialogs/open-diagram-dialog/open-diagram-dialog.tsx+++ b/src/dialogs/open-diagram-dialog/open-diagram-dialog.tsx@@ -85,7 +85,7 @@ export const OpenDiagramDialog: React.FC<OpenDiagramDialogProps> = ({</DialogHeader><div className="flex flex-1 items-center justify-center"><ScrollArea className="h-80 w-full">- <Table>+ <Table className="h-fit"><TableHeader className="sticky top-0 bg-background"><TableRow><TableHead />@@ -134,11 +134,15 @@ export const OpenDiagramDialog: React.FC<OpenDiagramDialogProps> = ({}}}>- <TableCell className="flex justify-center">- <DiagramIcon diagram={diagram} />+ <TableCell className="table-cell">+ <div className="flex justify-center">+ <DiagramIcon+ diagram={diagram}+ />+ </div></TableCell><TableCell>{diagram.name}</TableCell>- <TableCell className="hidden items-center sm:inline-flex">+ <TableCell className="hidden items-center sm:table-cell">{diagram.createdAt.toLocaleString()}</TableCell><TableCell>