Skip to content

Commit

Permalink
Fix leaky <code> CSS (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
tajo authored Feb 10, 2023
1 parent 7276820 commit dc57fa2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/plenty-planes-check.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ladle/react": patch
---

Fix leaky <code> CSS
2 changes: 1 addition & 1 deletion packages/ladle/lib/app/ladle.css
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ div[data-reach-dialog-overlay] {
}

.ladle-code,
code {
[data-mdx="true"] .ladle-main code {
padding: 0.2em 0.4em;
margin: 0;
line-height: 2;
Expand Down

1 comment on commit dc57fa2

@vercel
Copy link

@vercel vercel bot commented on dc57fa2 Feb 10, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

ladle – ./

ladle-miksu.vercel.app
ladle.vercel.app
ladle-git-main-miksu.vercel.app
ladle.dev

Please sign in to comment.