Add colors to data types in Popover (details of column) (#450)

This commit is contained in:
Dufeutrel Thibaut
2025-05-14 19:26:02 +02:00
committed by GitHub
parent 14da9c0a10
commit 80fb9e5080

View File

@@ -210,7 +210,11 @@ export default function Table(props) {
style={{ direction: "ltr" }}
>
<p className="me-4 font-bold">{e.name}</p>
<p className="ms-4">
<p
className={
"ms-4 font-mono " + dbToTypes[database][e.type].color
}
>
{e.type +
((dbToTypes[database][e.type].isSized ||
dbToTypes[database][e.type].hasPrecision) &&