Эх сурвалжийг харах

Small screen accommodation for .wp-caption images

Chris Balt 13 жил өмнө
parent
commit
a242e7746e

+ 2 - 0
library/less/_base.less

@@ -388,11 +388,13 @@ and more scalable.
 		} /* end .entry-content */
 
 		.wp-caption {
+			max-width: 100%;
 			background: #eee;
 			padding: 5px;
 
 			/* images inside wp-caption */
 			img {
+				max-width: 100%;
 				margin-bottom: 0;
 				width: 100%;
 			}