Skip to content

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

animation -> start instead of center

Guy Ben-Aharonf5de938f3345
diff --git a/src/pages/editor-page/side-panel/tables-section/table-list/table-list.tsx b/src/pages/editor-page/side-panel/tables-section/table-list/table-list.tsx
index e4dff95e..05075e77 100644
--- a/src/pages/editor-page/side-panel/tables-section/table-list/table-list.tsx
+++ b/src/pages/editor-page/side-panel/tables-section/table-list/table-list.tsx
@@ -27,7 +27,7 @@ export const TableList: React.FC<TableListProps> = ({ tables }) => {
(id: string) =>
refs[id]?.current?.scrollIntoView({
behavior: 'smooth',
- block: 'center',
+ block: 'start',
}),
[refs]
);