aws / mynah-ui

The chat interface of Amazon Q Developer (for IDEs)
https://aws.github.io/mynah-ui/
Apache License 2.0
15 stars 14 forks source link

Inline code elements overflowing out of chat view #127

Closed Jurredr closed 3 weeks ago

Jurredr commented 4 weeks ago

Problem

Inline code elements formatted in a sent prompt message can overflow out of the visible chat window by being too long to fit. image

Steps to reproduce the issue

Type a prompt with a longer one line code reference, e.g.: "My code here: credentialsProvider.getCredentials('iam') as Credentials. What does it mean?", and send the prompt.

Expected behavior

The inline code element should wrap onto new line(s).

System details