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

Add space between answer card and follow up questions #32

Closed mk-fan closed 11 months ago

mk-fan commented 11 months ago

Issue #, if available:

  1. Space issue between answer card and follow ups Screenshot 2023-11-21 at 12 24 51 PM
  2. When typed quick actions has no match and user hits enter, the first action is wrongly triggered Screenshot 2023-11-21 at 4 36 33 PM

Description of changes:

  1. Add top padding to mynah-chat-item-followup-question class Screenshot 2023-11-21 at 3 34 10 PM
  2. Fix the logic in chat-prompt-input.ts to handle the case when user types quick action and there's no match

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

dogusata commented 11 months ago

@mk-fan only thing we don't need anymore is the padding to fix the space between items, i also removed the spacer too since we now have proper gapping between cards.