Skip to content

Commit 2e95777

Browse files
authored
fix: image aspect ratio on component preview (#35791)
1 parent 326f2d2 commit 2e95777

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)