Database diagrams editor that allows you to visualize and design your DB with a single query.
TypeScript databasedbdb-migrationeditorerdmariadbmssqlmysqlpostgresqlreactreact-flowschema-migrationssqlsqlitetypescriptvisualizationxyflow
change margin on create table
Guy Ben-Aharon212bc4c82a13
diff --git a/src/pages/editor-page/side-panel/tables-section/tables-section.tsx b/src/pages/editor-page/side-panel/tables-section/tables-section.tsxindex a81fb854..7844d194 100644--- a/src/pages/editor-page/side-panel/tables-section/tables-section.tsx+++ b/src/pages/editor-page/side-panel/tables-section/tables-section.tsx@@ -39,7 +39,7 @@ export const TablesSection: React.FC<TablesSectionProps> = () => {const handleCreateTable = async () => {setFilterText('');- const padding = 150;+ const padding = 80;const centerX = -viewport.x / viewport.zoom + padding / viewport.zoom;const centerY = -viewport.y / viewport.zoom + padding / viewport.zoom;