Use font size --text-md for <code> in Chatbot messages (#5137)

* Use --text-md for <code> in Chatbot message

* add changeset

* Update js/chatbot/static/ChatBot.svelte

Co-authored-by: Hannah <hannahblair@users.noreply.github.com>

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
This commit is contained in:
Jae-Won Chung 2023-08-09 15:10:45 -04:00 committed by GitHub
parent 8a84506cee
commit 22aa5eba3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,6 @@
---
"@gradio/chatbot": minor
"gradio": minor
---
feat:Use font size `--text-md` for `<code>` in Chatbot messages

View File

@ -333,6 +333,9 @@
padding: var(--spacing-xl) 10px;
direction: ltr;
}
.message-wrap :global(code) {
font-size: var(--text-md);
}
/* Tables */
.message-wrap :global(table),