Permalink
Browse files

keep post-image from spilling out of the post-width

  • Loading branch information...
1 parent eb1fec7 commit 213b5762203b11a152975aa43bfac3ac6caceaab @tmack8001 committed Jan 11, 2014
Showing with 6 additions and 3 deletions.
  1. +6 −3 assets/css/screen.css
View
@@ -453,12 +453,15 @@ margin on the iframe, cause it breaks stuff. */
}
.post-image img {
- width: 100%;
- -webkit-backface-visibility: hidden;
+ display: block;
+ height: auto;
+ margin: 0 auto;
+ max-width: 100%;
transition: 0.3s;
- -webkit-transition: 0.3s;
-mox-transition: 0.3s;
-o-transition: 0.3s;
+ -webkit-backface-visibility: hidden;
+ -webkit-transition: 0.3s;
}
.post-image img:hover,

0 comments on commit 213b576

Please sign in to comment.