瀏覽代碼

Small screen accommodations for .wp-caption images

Chris Balt 13 年之前
父節點
當前提交
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 */
 		} /* end .entry-content */
 
 
 		.wp-caption {
 		.wp-caption {
+			max-width: 100%;
 			background: #eee;
 			background: #eee;
 			padding: 5px;
 			padding: 5px;
 
 
 			/* images inside wp-caption */
 			/* images inside wp-caption */
 			img {
 			img {
+				max-width: 100%;
 				margin-bottom: 0;
 				margin-bottom: 0;
 				width: 100%;
 				width: 100%;
 			}
 			}