Permalink
Browse files

Enable auto-resizing of images in posts

Added CSS to enable automatic resizing of images in posts as browser window size changes.

Signed-off-by: Michael Sheaver <michael@michaelsheaver.com>
  • Loading branch information...
1 parent 19a12f8 commit f9602afcc16ad9956b8d6aabf5828a5f7234c0e8 Michael Sheaver committed Feb 20, 2012
Showing with 9 additions and 0 deletions.
  1. +9 −0 whiteboard/theme.css
View
@@ -329,4 +329,13 @@ body {
}
+/* Enable images in posts to automatically resize */
+/* as browser window changes sizes. */
+
+.post-content img {
+ max-width: 100%;
+ height: auto;
+}
+
+
/* Always remember to compress your live stylesheet and keep an uncompressed backup */

0 comments on commit f9602af

Please sign in to comment.