Skip to content

Commit

Permalink
Add CSS resets and specifiers to play nice with HF blog (#4997)
Browse files Browse the repository at this point in the history
* changes

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
  • Loading branch information
3 people committed Jul 24, 2023
1 parent 71c9039 commit 41c8307
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changeset/evil-mirrors-switch.md
@@ -0,0 +1,6 @@
---
"@gradio/theme": patch
"gradio": patch
---

fix:Add CSS resets and specifiers to play nice with HF blog
1 change: 1 addition & 0 deletions js/theme/src/reset.css
Expand Up @@ -213,6 +213,7 @@ img,
video {
max-width: 100%;
height: auto;
margin: 0;
}

[hidden] {
Expand Down
1 change: 1 addition & 0 deletions js/theme/src/typography.css
Expand Up @@ -23,6 +23,7 @@
margin: var(--spacing-xxl) 0 var(--spacing-lg);
font-weight: var(--prose-header-text-weight);
line-height: 1.3;
color: var(--body-text-color);
}

.prose > *:first-child {
Expand Down

1 comment on commit 41c8307

@vercel
Copy link

@vercel vercel bot commented on 41c8307 Jul 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.