yangdx commited on
Commit
310568a
·
1 Parent(s): a40488a

Update toptips position

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