modified: frontend/src/pages/DatabaseSchema.tsx
This commit is contained in:
@@ -36,16 +36,14 @@ function TableNode({ data }: { data: TableInfo & Record<string, unknown> }) {
|
||||
|
||||
return (
|
||||
<div className="bg-white border-2 border-gray-300 rounded-lg shadow-lg min-w-64 overflow-hidden relative">
|
||||
<div className="bg-primary-600 text-white px-3 py-2 font-semibold text-sm">
|
||||
<div
|
||||
className="bg-primary-600 text-white px-3 py-2 font-semibold text-sm"
|
||||
title={data.comment || undefined}
|
||||
>
|
||||
<div className="flex items-center gap-2">
|
||||
<DatabaseIcon size={14} />
|
||||
<span className="truncate">{data.name}</span>
|
||||
</div>
|
||||
{data.comment && (
|
||||
<div className="text-xs text-primary-200 mt-1 font-normal truncate" title={data.comment}>
|
||||
{data.comment}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
<div className="divide-y divide-gray-100">
|
||||
|
||||
Reference in New Issue
Block a user