Explorar o código

Small screen accommodation for .wp-caption images

Chris Balt %!s(int64=13) %!d(string=hai) anos
pai
achega
a242e7746e
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      library/less/_base.less

+ 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%;
 			}