Skip to content

Commit

Permalink
Update post images CSS to support markdown images
Browse files Browse the repository at this point in the history
  • Loading branch information
kelyvin committed Jan 28, 2019
1 parent ddb46d0 commit 6d38dae
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions assets/scss/components/_post.scss
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,17 @@
}
}

// Markdown image support
p {
img {
max-width: 100%;
margin: 24px auto;
text-align: center;
border-radius: $border-radius;
display: block;
}
}

pre {
width: 95%;
}
Expand Down

0 comments on commit 6d38dae

Please sign in to comment.