Skip to content

Commit

Permalink
Merge pull request #29 from larrybotha/fix/image-height
Browse files Browse the repository at this point in the history
  • Loading branch information
larrybotha authored Dec 10, 2021
2 parents b69c2be + daa702a commit 7a0a52c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scss/core/global/_images.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@
* width:; and height:; above apply
*/
img, embed, object, video {
height: auto;
max-width: 100%;

&:not([height]) {
height: auto;
}
}

/**
Expand Down

0 comments on commit 7a0a52c

Please sign in to comment.