Skip to content

Commit

Permalink
fix(StructuedYsonVirtualized): fix scroll for parsed string value [#765]
Browse files Browse the repository at this point in the history
  • Loading branch information
Flunt1k committed Sep 19, 2024
1 parent 2c441c5 commit c696380
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@
overflow-x: hidden;
}

&__full-value-parsed {
overflow-x: auto;
}

&__full-value-radio-buttons {
width: 200px;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,11 @@ function FullValueDialog(props: FullValueDialogProps) {
length={length}
/>
)}
{type === 'parsed' && <pre>{getParsedFullValue(text)}</pre>}
{type === 'parsed' && (
<pre className={block('full-value-parsed')}>
{getParsedFullValue(text)}
</pre>
)}
</div>
</Flex>
</Dialog.Body>
Expand Down

0 comments on commit c696380

Please # to comment.