mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-09 18:53:38 +02:00
Auto-scroll component for websocket/grpc/sse
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user