Преглед изворни кода

Redhill: Reset the img height to auto

Thomas Guillot пре 6 година
родитељ
комит
8b4561af97
2 измењених фајлова са 11 додато и 4 уклоњено
  1. 8 2
      redhill/style-rtl.css
  2. 3 2
      redhill/style.css

+ 8 - 2
redhill/style-rtl.css

@@ -1412,9 +1412,10 @@ h6, .h6 {
 }
 
 img {
-	width: auto;
-	vertical-align: middle;
+	height: auto;
 	max-width: 100%;
+	vertical-align: middle;
+	width: auto;
 }
 
 .wp-block-latest-comments {
@@ -1763,6 +1764,11 @@ hr.is-style-dots:before {
 	padding-right: 0.83333rem;
 }
 
+.wp-block-jetpack-slideshow ul {
+	margin-right: 0;
+	margin-left: 0;
+}
+
 .wp-block-spacer {
 	display: block;
 	margin-bottom: 0;

+ 3 - 2
redhill/style.css

@@ -1412,9 +1412,10 @@ h6, .h6 {
 }
 
 img {
-	width: auto;
-	vertical-align: middle;
+	height: auto;
 	max-width: 100%;
+	vertical-align: middle;
+	width: auto;
 }
 
 .wp-block-latest-comments {