Skip to content

Commit

Permalink
Merge pull request #7798 from agbaum/master
Browse files Browse the repository at this point in the history
Fix for center-aligned images with IPython.display.Image
  • Loading branch information
Steven Silvester committed Jan 20, 2020
2 parents f3550a5 + 28f7d14 commit c1a277c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/rendermime/style/base.css
Expand Up @@ -412,8 +412,8 @@
/* Restrict to direct children as other images could be nested in other content. */
.jp-RenderedHTMLCommon > img {
display: block;
margin-left: auto;
margin-right: auto;
margin-left: 0;
margin-right: 0;
margin-bottom: 1em;
}

Expand Down

0 comments on commit c1a277c

Please sign in to comment.