Fixes component info font size (#9651)

This commit is contained in:
Dawood Khan 2024-10-23 01:49:09 -04:00 committed by GitHub
parent b538bdaa06
commit 1163a372a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 13 additions and 3 deletions

View File

@ -0,0 +1,6 @@
---
"@gradio/atoms": patch
"gradio": patch
---
fix:Fixes component info font size

View File

@ -9,11 +9,15 @@
</div>
<style>
div {
margin-bottom: var(--spacing-lg);
color: var(--block-info-text-color);
div > :global(.md.prose) {
font-weight: var(--block-info-text-weight);
font-size: var(--block-info-text-size);
line-height: var(--line-sm);
}
div > :global(.md.prose *) {
color: var(--block-info-text-color);
}
div {
margin-bottom: var(--spacing-md);
}
</style>