From 266fb1008398df5e9fa92deaf66ac42c0c91f81e Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Fri, 24 Jun 2016 11:10:09 +0200 Subject: [PATCH] fixed img max-width on simplenews --- sites/all/themes/gui/materiobasetheme/css/styles.css | 2 ++ sites/all/themes/gui/materiobasetheme/scss/styles.scss | 1 + 2 files changed, 3 insertions(+) diff --git a/sites/all/themes/gui/materiobasetheme/css/styles.css b/sites/all/themes/gui/materiobasetheme/css/styles.css index 0a7f7620..d778bcd5 100644 --- a/sites/all/themes/gui/materiobasetheme/css/styles.css +++ b/sites/all/themes/gui/materiobasetheme/css/styles.css @@ -6472,6 +6472,8 @@ body.node-type-simplenews #content article.node.node-simplenews { padding: 1em 0; } body.node-type-simplenews #content article.node.node-simplenews tbody { border-top: 0px; } + body.node-type-simplenews #content article.node.node-simplenews img { + max-width: 218px; } @media only screen and (max-width: 40em) { body.node-type-simplenews #content article.node.node-simplenews { max-width: 100%; diff --git a/sites/all/themes/gui/materiobasetheme/scss/styles.scss b/sites/all/themes/gui/materiobasetheme/scss/styles.scss index b3661541..0412e6d9 100644 --- a/sites/all/themes/gui/materiobasetheme/scss/styles.scss +++ b/sites/all/themes/gui/materiobasetheme/scss/styles.scss @@ -2203,6 +2203,7 @@ body.node-type-simplenews{ tbody{ border-top:0px; } + img{max-width: 218px;} @media #{$small-only}{ max-width: 100%;