Skip to content

Commit 7a0a52c

Browse files
authored
Merge pull request #29 from larrybotha/fix/image-height
2 parents b69c2be + daa702a commit 7a0a52c

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

scss/core/global/_images.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@
99
* width:; and height:; above apply
1010
*/
1111
img, embed, object, video {
12-
height: auto;
1312
max-width: 100%;
13+
14+
&:not([height]) {
15+
height: auto;
16+
}
1417
}
1518

1619
/**

0 commit comments

Comments
 (0)