Auto-scroll component for websocket/grpc/sse

This commit is contained in:
Gregory Schier
2025-02-03 07:05:14 -08:00
parent be0ef7afce
commit 17dc1991f1
11 changed files with 208 additions and 137 deletions

View File

@@ -84,7 +84,7 @@ export const JsonAttributeTree = ({
}, [attrValue, attrKeyJsonPath, isExpanded, depth]);
const labelEl = (
<span className={classNames(labelClassName, 'select-text group-hover:text-text-subtle')}>
<span className={classNames(labelClassName, 'cursor-text select-text group-hover:text-text-subtle')}>
{label}
</span>
);
@@ -115,7 +115,7 @@ export const JsonAttributeTree = ({
</button>
) : (
<>
<span className="text-primary mr-1.5 pl-4 whitespace-nowrap select-text">
<span className="text-primary mr-1.5 pl-4 whitespace-nowrap cursor-text select-text">
{attrKey}:
</span>
{labelEl}