Update toptips position

This commit is contained in:
yangdx
2025-04-15 16:09:01 +08:00
parent ae526c9cf8
commit 50e9f938a4

View File

@@ -232,7 +232,7 @@ const PropertyRow = ({
<span className="text-primary/60 tracking-wide whitespace-nowrap">{getPropertyNameTranslation(name)}</span>:
<Text
className="hover:bg-primary/20 rounded p-1 overflow-hidden text-ellipsis"
tooltipClassName="max-w-80 -translate-x-10"
tooltipClassName="max-w-80 -translate-x-13"
text={value}
tooltip={tooltip || (typeof value === 'string' ? value : JSON.stringify(value, null, 2))}
side="left"