Database diagrams editor that allows you to visualize and design your DB with a single query.
TypeScript databasedbdb-migrationeditorerdmariadbmssqlmysqlpostgresqlreactreact-flowschema-migrationssqlsqlitetypescriptvisualizationxyflow
fix: notes colors (#970)
Guy Ben-Aharon4fd940afbb33
diff --git a/src/pages/editor-page/canvas/note-node/note-node.tsx b/src/pages/editor-page/canvas/note-node/note-node.tsxindex c406f56d..a1f1eec6 100644--- a/src/pages/editor-page/canvas/note-node/note-node.tsx+++ b/src/pages/editor-page/canvas/note-node/note-node.tsx@@ -136,8 +136,10 @@ export const NoteNode: React.FC<NoteNodeProps> = ({return (<divclassName={cn(- 'flex h-full flex-col overflow-hidden rounded border shadow-md',- selected ? 'border-pink-600 border-2' : 'border-border'+ 'flex h-full flex-col overflow-hidden rounded-[6px] border',+ selected+ ? 'border-pink-600'+ : 'border-slate-500 dark:border-slate-600')}style={{background: getBodyColor(note.color),@@ -165,7 +167,7 @@ export const NoteNode: React.FC<NoteNodeProps> = ({{/* Note body */}<div className="group/note relative flex-1 overflow-hidden p-2">{/* Corner fold (bottom-right) */}- <div className="absolute bottom-0 right-0 border-b-[20px] border-l-[40px] border-r-0 border-t-0 border-b-black/10 border-l-transparent opacity-50 dark:border-b-white/10" />+ <div className="absolute bottom-0 right-0 border-b-[30px] border-l-[30px] border-r-0 border-t-0 border-b-black/10 border-l-transparent opacity-50 dark:border-b-white/10" />{/* Content area */}{editMode ? (