Skip to content

Commit

Permalink
Center images in HTML, PDF: metanorma/metanorma-standoc#85
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Jul 14, 2019
1 parent c583a21 commit 5cffc47
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions lib/isodoc/csd/html/htmlstyle.scss
Original file line number Diff line number Diff line change
Expand Up @@ -215,12 +215,13 @@ table {
}
}

@media screen {
div.figure > img {
width: 100%;
height: auto;
margin-left: auto;
margin-right: auto;
display: block;
max-width: 100%;
height: auto;
}
}


#toc ul {
Expand Down

0 comments on commit 5cffc47

Please sign in to comment.