Skip to content

Commit

Permalink
fix(core _images.scss): only set height attribute in CSS if not speci…
Browse files Browse the repository at this point in the history
…fied via attribute
  • Loading branch information
larrybotha committed Dec 10, 2021
1 parent b69c2be commit daa702a
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 daa702a

Please sign in to comment.