Skip to content

Commit 691d7bb

Browse files
committed
FIX: responsiveness for images
1 parent 2d46d98 commit 691d7bb

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

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

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,17 @@
5151
border: 0;
5252
}
5353

54-
img,
55-
object,
5654
video,
57-
embed {
58-
max-height: 100%;
55+
embed,
56+
object {
5957
max-width: 100%;
6058
}
6159

60+
img {
61+
max-width: 100%;
62+
height: auto;
63+
}
64+
6265
svg:not(:root) {
6366
overflow: hidden;
6467
}

0 commit comments

Comments
 (0)