Quellcode durchsuchen

Small screen accommodation for .wp-caption images

Chris Balt vor 13 Jahren
Ursprung
Commit
a242e7746e
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  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%;
 			}