Skip to content

bug: width of containers is distorted by code blocks in (1) RAG responses and (2) chunk containers in the RAG docs container #2228

Description

@danielsgriffin

Description

If a chat answer or chunk in the RAG interface has a code block the width is distorted. See these images:

image image (Images are of fullscreen browser window, with sidebar omitted from the capture)

This distortion does not exist in the search playground.

It seems that the code blocks should either wrap or scroll on overflow (latter likely preferred). But the first example also is wider than necessary for the given code.

The adjustable slider between the columns still works. A key issue is that the buttons on the top right of the chunk containers (copy and open chunk view) are shoved far out of view without scrolling).

Target(s)

chat

Requirement to close

PR which maintains responsive container widths.

Community channels

Matrix is preferred. Reach out on discord or Matrix for further assistance.

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions