Skip to content

Overflow in the body examples #287

Closed
@ibnesayeed

Description

@ibnesayeed

Examples block in the body section under each media type does not honor the container width when lines are long. As a result, Try it block is pushed out of the container width on the right side. The pre/code block should show horizontal scroll bar when necessary. Here is a code to illustrate it.

#%RAML 1.0
title: MemGator Server API
version: 1
baseUri: http://example.com
/hello:
  description: Say Hello
  get:
    responses:
      200:
        body:
          text/plain:
            example: Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello!

And here is the effect:

api-console-overflow

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions