Skip to content

Commit

Permalink
Merge pull request jupyter-widgets#2213 from mwcraig/address-image-st…
Browse files Browse the repository at this point in the history
…yling

Fix Image display inconsistency between classic and lab
  • Loading branch information
SylvainCorlay authored Apr 26, 2019
2 parents cd22809 + 73727b7 commit beccde8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/controls/css/widgets-base.css
Original file line number Diff line number Diff line change
Expand Up @@ -1074,3 +1074,11 @@
/* Make it possible to have absolutely-positioned elements in the html */
position: relative;
}


/* Image widget */

.widget-image {
max-width: 100%;
height: auto;
}

0 comments on commit beccde8

Please sign in to comment.