Skip to content

Commit

Permalink
Fix overflowing markdown in Chatbot (#9260)
Browse files Browse the repository at this point in the history
* fix markdown overflowing table

* add changeset

* revert undo icon

* add changeset

* Revert "revert undo icon"

This reverts commit 855b012.

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
  • Loading branch information
hannahblair and gradio-pr-bot authored Sep 13, 2024
1 parent 61f794b commit d47dd1f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changeset/long-donkeys-hang.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@gradio/markdown": minor
"gradio": minor
---

feat:Fix overflowing markdown in Chatbot
4 changes: 4 additions & 0 deletions js/markdown/shared/MarkdownCode.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -188,4 +188,8 @@
span.md :global(.md-header-anchor > svg) {
color: var(--body-text-color-subdued);
}
span :global(table) {
word-break: break-word;
}
</style>

0 comments on commit d47dd1f

Please sign in to comment.