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

This commit is contained in:
Happy4Game 2025-05-14 19:17:31 +02:00
parent 14da9c0a10
commit 5e8dd49daf

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) &&