Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Hack to align images in markdown
  • Loading branch information
utkarsh2102 committed Jun 15, 2020
1 parent 0c42da5 commit 646aed4
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions assets/scss/_base.scss
Expand Up @@ -163,8 +163,19 @@ table tr th:last-child {
border-right: 0;
}

img {
max-width: 100%;
img[src$='#center'] {
display: block;
margin: 0.7rem auto;
}

img[src$='#left'] {
float: left;
margin: 0.7rem;
}

img[src$='#right'] {
float: right;
margin: 0.7rem;
}

figure {
Expand Down

0 comments on commit 646aed4

Please sign in to comment.