File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed
apps/postgres-new/components/schema Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -116,25 +116,35 @@ export default function TablesGraph({
116
116
117
117
< div className = "absolute w-full h-full flex justify-center items-center text-center p-4 font-medium" >
118
118
{ isLoading && (
119
- < div className = "flex gap-4 items-center text-lighter " >
119
+ < div className = "flex gap-4 items-center text-primary/25 " >
120
120
< Loader className = "animate-spin" size = { 28 } />
121
121
< p className = "text-xl" > Loading schema...</ p >
122
122
</ div >
123
123
) }
124
124
125
125
{ isError && (
126
- < div className = "flex gap-2 text-lighter " >
126
+ < div className = "flex gap-2 text-primary/25 " >
127
127
< p > Error loading schema from the database:</ p >
128
128
< p > { `${ error ?. message ?? 'Unknown error' } ` } </ p >
129
129
</ div >
130
130
) }
131
131
132
132
{ isEmpty && (
133
- < h2 className = "text-4xl text-lighter font-light w-[500px]" > Ask AI to create a table</ h2 >
133
+ < h2 className = "text-2xl text-primary/25 font-light w-[500px]" >
134
+ Ask AI to create a table
135
+ </ h2 >
134
136
) }
135
137
</ div >
136
138
137
- < Controls showZoom = { false } showInteractive = { false } position = "top-right" />
139
+ < Controls
140
+ className = "[&.react-flow\_\_controls]:shadow-none [&_button]:bg-border [&_button:hover]:bg-background [&_button]:border-none [&_button]:text-blue [&_button]:rounded-md [&_svg]:fill-current"
141
+ showZoom = { false }
142
+ showInteractive = { false }
143
+ position = "top-right"
144
+ fitViewOptions = { {
145
+ duration : 200 ,
146
+ } }
147
+ />
138
148
139
149
< div className = "absolute bottom-0 left-0 right-0 z-10 flex flex-col" > </ div >
140
150
</ ReactFlow >
You can’t perform that action at this time.
0 commit comments