Skip to content

Commit

Permalink
Fix width of assistant's chatbot bubble (#8766)
Browse files Browse the repository at this point in the history
* fix width

* add changeset

* format

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
  • Loading branch information
3 people committed Jul 12, 2024
1 parent 1b74e21 commit 2b4636e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/slimy-badgers-taste.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@gradio/chatbot": patch
"gradio": patch
---

feat:Fix width of assistant's chatbot bubble
2 changes: 1 addition & 1 deletion js/chatbot/shared/ChatBot.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@
.message-row.bubble.bot-row {
align-self: flex-start;
width: calc(100% - var(--spacing-xl) * 6);
max-width: calc(100% - var(--spacing-xl) * 6);
}
.message-row:last-of-type {
Expand Down

0 comments on commit 2b4636e

Please sign in to comment.