Update toptips position

This commit is contained in:
yangdx
2025-04-15 16:09:01 +08:00
parent 0828270098
commit c50b3dc79c

View File

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