diff options
author | Starla Insigna <starla4444@gmail.com> | 2010-11-14 16:27:00 -0500 |
---|---|---|
committer | Starla Insigna <starla4444@gmail.com> | 2010-11-14 16:27:00 -0500 |
commit | f26a5e6f881faf3976c1a3256bce55819a4e3475 (patch) | |
tree | 19204e8a251c806e6e0106d84626e5d279ff32c9 /theme/css | |
parent | b6da01a4ef4668e0437164c7d9cb30a58f299bdf (diff) | |
download | fourisland-f26a5e6f881faf3976c1a3256bce55819a4e3475.tar.gz fourisland-f26a5e6f881faf3976c1a3256bce55819a4e3475.tar.bz2 fourisland-f26a5e6f881faf3976c1a3256bce55819a4e3475.zip |
Fixed large images in post error
Previously, when an image was larger than the post body, it would just break out. Now, all images have a max-width equal to the width of the container, so they will resize with their containers and omg yay.
Diffstat (limited to 'theme/css')
-rwxr-xr-x | theme/css/website.css | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/theme/css/website.css b/theme/css/website.css index 10771bc..1d7bdc3 100755 --- a/theme/css/website.css +++ b/theme/css/website.css | |||
@@ -48,6 +48,9 @@ a img { | |||
48 | border: 0; | 48 | border: 0; |
49 | } | 49 | } |
50 | 50 | ||
51 | img { | ||
52 | max-width: 100%; | ||
53 | } | ||
51 | 54 | ||
52 | body[id^=fourm] div#page div#content code { | 55 | body[id^=fourm] div#page div#content code { |
53 | display: block; | 56 | display: block; |