Skip to content

Commit f4487ce

Browse files
authored
fix(amazonq): visual bugs in prompt input field aws#5308
## Problem There are 2 minor visual bugs in Amazon Q Chat UI: * When the prompt input text exceeds the width of the chat box it's not always wrapped correctly. * When user types empty spaces at the beginning of lines inside prompt, it appears like a code block instead of a paragraph. ## Solution * Prompt input is properly sized and matches with the textarea underneath. * Removed empty spaces for each line. [MynahUI 4.15.2](https://github.com/aws/mynah-ui/releases/tag/v4.15.2)
1 parent 093dea1 commit f4487ce

File tree

4 files changed

+13
-5
lines changed

4 files changed

+13
-5
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "Bug Fix",
3+
"description": "Amazon Q Chat: Fixes a bug when the prompt input exceeds the width of the chat box it's not always wrapped correctly."
4+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "Bug Fix",
3+
"description": "Amazon Q Chat: Fixes a bug when user input contains 4 or more spaces at the beginning of the line for multiline inputs, that line appears like a code block instead of a paragraph"
4+
}

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4115,7 +4115,7 @@
41154115
"@aws-sdk/property-provider": "3.46.0",
41164116
"@aws-sdk/smithy-client": "^3.46.0",
41174117
"@aws-sdk/util-arn-parser": "^3.46.0",
4118-
"@aws/mynah-ui": "^4.15.1",
4118+
"@aws/mynah-ui": "^4.15.2",
41194119
"@gerhobbelt/gitignore-parser": "^0.2.0-9",
41204120
"@iarna/toml": "^2.2.5",
41214121
"@smithy/middleware-retry": "^2.3.1",

0 commit comments

Comments
 (0)