Просмотр исходного кода

Small screen accommodations for .wp-caption images

Chris Balt 13 лет назад
Родитель
Сommit
60cb985628
1 измененных файлов с 2 добавлено и 0 удалено
  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%;
 			}