Skip to content

Commit e712901

Browse files
ENGCOM-6999: FIX: responsiveness for images #27041
- Merge Pull Request #27041 from GrimLink/magento2:bugfix/responsive-images - Merged commits: 1. 691d7bb 2. 6209f35 3. bf78c2c 4. 7e096c2
2 parents 3455667 + 7e096c2 commit e712901

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/web/css/source/lib/_resets.less

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,14 @@
4848
}
4949

5050
img {
51+
max-width: 100%;
52+
height: auto;
5153
border: 0;
5254
}
5355

54-
img,
55-
object,
5656
video,
57-
embed {
58-
max-height: 100%;
57+
embed,
58+
object {
5959
max-width: 100%;
6060
}
6161

0 commit comments

Comments
 (0)