Skip to content

Commit 91fa2af

Browse files
authored
Merge pull request #2106 from alexisthual/bugfix/media_ratio_in_output_area
2 parents 1312f0b + c77d34b commit 91fa2af

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

styles/hydrogen.less

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,9 +248,11 @@
248248
video,
249249
img,
250250
svg {
251-
width: unset !important;
252-
height: unset !important;
251+
object-fit: contain !important;
252+
width: auto !important;
253+
height: auto !important;
253254
max-width: 100% !important;
255+
max-height: 100% !important;
254256
}
255257
}
256258

0 commit comments

Comments
 (0)