Restore chatbot formatting (#7998)

* changes

* add changeset

* add changeset

---------

Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
This commit is contained in:
aliabid94 2024-04-11 17:40:08 -05:00 committed by GitHub
parent 8903415e49
commit 06bdf0eddf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 11 additions and 1 deletions

View File

@ -0,0 +1,7 @@
---
"@gradio/chatbot": patch
"@gradio/theme": patch
"gradio": patch
---
feat:Restore chatbot formatting

View File

@ -346,6 +346,9 @@
padding-right: calc(var(--spacing-xxl) + var(--spacing-md));
padding: calc(var(--spacing-xxl) + var(--spacing-sm));
}
.message :global(.prose) {
font-size: var(--chatbot-body-text-size);
}
.message-bubble-border {
border-width: 1px;

View File

@ -73,7 +73,7 @@
.prose ul ol,
.prose ol ol,
.prose ol ul {
margin: 0.5em 0 0.5em 3em;
margin: 0.5em 0 0.5em 0em;
font-size: 90%;
}
.prose li {