mirror of
https://github.com/gradio-app/gradio.git
synced 2025-03-25 12:10:31 +08:00
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:
parent
8a84506cee
commit
22aa5eba3f
6
.changeset/shaky-impalas-tease.md
Normal file
6
.changeset/shaky-impalas-tease.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
"@gradio/chatbot": minor
|
||||
"gradio": minor
|
||||
---
|
||||
|
||||
feat:Use font size `--text-md` for `<code>` in Chatbot messages
|
@ -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),
|
||||
|
Loading…
x
Reference in New Issue
Block a user