Skip to content

Commit

Permalink
Merge pull request #411 from axodotdev/fix/image-nubs
Browse files Browse the repository at this point in the history
fix: provide distinction between images
  • Loading branch information
liv authored Jun 20, 2023
2 parents 740f125 + 8cd0e51 commit f131f46
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion oranda-css/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,15 @@ hr {
}

img {
@apply m-auto;
@apply inline;
}

/*
In Markdown, you'll want standalone images to live in their own paragraph - which is why we can target only these
standalone images and center them probably.
*/
p > img:only-child {
@apply block m-auto;
}

blockquote {
Expand Down

0 comments on commit f131f46

Please sign in to comment.