diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2012-09-08 18:25:28 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2012-09-08 18:25:28 +0200 |
commit | baeab364c9ded76f6ffbb083b267b7b44ca02bf6 (patch) | |
tree | fa4fbcb86f939905d092c773067f4931d158b42f /css | |
parent | 1617913eb624745678caf04863eddeb7c79e6861 (diff) |
images are now correctly resized when the width is < than max width
Diffstat (limited to 'css')
-rw-r--r-- | css/news.css | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/css/news.css b/css/news.css index 02484b237..b930e8ed4 100644 --- a/css/news.css +++ b/css/news.css @@ -572,7 +572,6 @@ div.add_parentfolder { * Body of the feed item */ .feed_item div.body { - overflow: hidden; padding: .75em 3em 0 3em; max-width: 55em; font-size: 1.1em; @@ -584,8 +583,11 @@ div.add_parentfolder { margin: .5em 0 1em 0; } - .feed_item div.body img { + .feed_item div.body img, .feed_item div.body table { max-width: 100%; + height: auto; + overflow: auto; + word-wrap: break-word; } .feed_item div.body > img:first-child { |