From daa702a22c0f1b44604cfe4b5d0bc89c84e872ec Mon Sep 17 00:00:00 2001 From: Larry Botha Date: Fri, 10 Dec 2021 13:16:13 +0200 Subject: [PATCH] fix(core _images.scss): only set height attribute in CSS if not specified via attribute --- scss/core/global/_images.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scss/core/global/_images.scss b/scss/core/global/_images.scss index fb2f709a..620320b9 100644 --- a/scss/core/global/_images.scss +++ b/scss/core/global/_images.scss @@ -9,8 +9,11 @@ * width:; and height:; above apply */ img, embed, object, video { - height: auto; max-width: 100%; + + &:not([height]) { + height: auto; + } } /**