mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-05-24 02:09:17 +00:00
Add colors to data types in Popover (details of column)
This commit is contained in:
parent
14da9c0a10
commit
5e8dd49daf
@ -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) &&
|
||||
|
Loading…
Reference in New Issue
Block a user