瀏覽代碼

fixed img max-width on simplenews

Bachir Soussi Chiadmi 8 年之前
父節點
當前提交
266fb10083

+ 2 - 0
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%;

+ 1 - 0
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%;