vue-json-pretty icon indicating copy to clipboard operation
vue-json-pretty copied to clipboard

Is it possible to set widths on keys and value to auto.

Open JoshuaeKaiser opened this issue 2 years ago • 1 comments

Is it possible to set widths on keys and value to auto. Essentially meaning key values and values themselves dont stack if their width exceeds that of the container. I wish to set an overflow x scroll to the container and allow the user to scroll to the right to see the rest of a property thats to large to fit the parent container.

JoshuaeKaiser avatar Mar 19 '23 17:03 JoshuaeKaiser

I think this should be a css issue on the consuming side.

You can add a style so that each node does not wrap, set a fixed width for the container, and add overflow, it should be fine.

leezng avatar Apr 24 '23 01:04 leezng