Browse files

Stop news images appearing too small.

We're not exactly sure why this wasn't working, since `#content img`
has `width: 100%` as a rule, which should trigger it to be 100% of its

The new rule is perhaps a bit more explicit; the `max-width` of the
image is set to 100% of its container, and the specific `width` of the
image is set to `inherit`, which should also set it to be the width of
the container.

Huh. Weird.
  • Loading branch information...
1 parent 4c997ef commit 3169b12d28de36d5f6f559cdbf25fc7fbaec93d0 @lazyatom lazyatom committed Feb 3, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 app/assets/stylesheets/shared/document_view.scss
@@ -75,6 +75,8 @@
img, a img {
margin: 0;
+ width: inherit;
+ max-width: 100%;

0 comments on commit 3169b12

Please sign in to comment.