]> git.wh0rd.org - tt-rss.git/commitdiff
don't distort resized images
authorVeit Lehmann <veit.lehmann@googlemail.com>
Fri, 12 Apr 2013 20:19:43 +0000 (23:19 +0300)
committerVeit Lehmann <veit.lehmann@googlemail.com>
Fri, 12 Apr 2013 20:19:43 +0000 (23:19 +0300)
If images have width/height attributes set and are reduced in size by max-width: auto, they look distorted. height: auto fixes this.

tt-rss.css

index ba017f1d655fa31135041a512449985adba1c860..c5dc6d8a09d0a129ca47605266b2530678c841e4 100644 (file)
@@ -57,6 +57,7 @@ div.postReply div.postContent {
 div.postReply div.postContent img {
        border-width : 0px;
        max-width : 98%;
+       height: auto;
 }
 
 div.postReply div.postEnclosures {