Skip to content

Word wrap in response like in example #1118

Open

Description

@joshdavidson613

In the response example section, long strings like tokens wrap correctly:

Image

However in the response when the user executes the endpoint doesn't come word-wrapped:

Image

The culprit seems to be the hard coding of white-space: pre and overflow: auto in the <pre> container of the response:

<pre style="white-space:pre; min-height:50px; height:var(--resp-area-height, 400px); resize:vertical; overflow:auto">

I can't seem to find a way to overwrite these hard coded style settings via css or even a timed js script as the item is in the shadow-dom and doesn't seem to come up via a JavaScript select. Any help resolving this would be appreciated.

Thanks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions