Skip to content

Commit

Permalink
Remove background behind images in markdown-body (#2691)
Browse files Browse the repository at this point in the history
* Remove background behind images in markdown-body

* Create shiny-students-juggle.md

---------

Co-authored-by: Jon Rohan <yes@jonrohan.codes>
  • Loading branch information
dylanatsmith and jonrohan authored Sep 17, 2024
1 parent 00fb8ad commit 5097430
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/shiny-students-juggle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/css": minor
---

Remove background behind images in markdown-body
1 change: 0 additions & 1 deletion src/markdown/images.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
// because we put padding on the images to hide header lines, and some people
// specify the width of their images in their markdown.
box-sizing: content-box;
background-color: var(--bgColor-default, var(--color-canvas-default));

&[align='right'] {
// stylelint-disable-next-line primer/spacing
Expand Down

0 comments on commit 5097430

Please sign in to comment.