Skip to content

Commit 4ab4c46

Browse files
committed
fix: image aspect ratio on component preview
1 parent 8616aa5 commit 4ab4c46

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

xmodule/assets/html/_display.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ a {
118118

119119
img {
120120
max-width: 100%;
121+
height: auto;
121122
}
122123

123124
pre {

0 commit comments

Comments
 (0)