forked from mirror/_s
_s: Make sure images with height attributes in comments are scaled
correctly.
This commit is contained in:
parent
84cc7f78cc
commit
3e717fa9c2
|
@ -452,6 +452,7 @@ a:active {
|
||||||
}
|
}
|
||||||
.site-header img,
|
.site-header img,
|
||||||
.entry-content img,
|
.entry-content img,
|
||||||
|
.comment-content img[height],
|
||||||
img[class*="align"],
|
img[class*="align"],
|
||||||
img[class*="wp-image-"] {
|
img[class*="wp-image-"] {
|
||||||
height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
|
height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
|
||||||
|
|
Reference in New Issue