Przeglądaj źródła

Small screen accommodations for .wp-caption images

Chris Balt 13 lat temu
rodzic
commit
60cb985628
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      library/scss/_base.scss

+ 2 - 0
library/scss/_base.scss

@@ -353,11 +353,13 @@ POSTS & CONTENT STYLES
 		} /* 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%;
 			}