Skip to content

Commit

Permalink
fix: image aspect ratio on component preview (openedx#35790)
Browse files Browse the repository at this point in the history
Co-authored-by: Jillian Vogel <[email protected]>
  • Loading branch information
rpenido and pomegranited authored Nov 8, 2024
1 parent 6ad5b10 commit 31d170a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xmodule/static/css-builtin-blocks/HtmlBlockDisplay.css
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@
.xmodule_display.xmodule_HtmlBlock img,
.xmodule_display.xmodule_StaticTabBlock img {
max-width: 100%;
height: auto;
}

.xmodule_display.xmodule_AboutBlock pre,
Expand Down

0 comments on commit 31d170a

Please sign in to comment.