Skip to content

Commit

Permalink
Fixes component info font size (#9651)
Browse files Browse the repository at this point in the history
  • Loading branch information
dawoodkhan82 authored Oct 23, 2024
1 parent b538bda commit 1163a37
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .changeset/fluffy-shrimps-burn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@gradio/atoms": patch
"gradio": patch
---

fix:Fixes component info font size
10 changes: 7 additions & 3 deletions js/atoms/src/Info.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit 1163a37

Please sign in to comment.