adium 2809:db7418b3e2f9: Set the max width to 100%, don't scale ...

commits at adium.im commits at adium.im
Thu Oct 29 18:10:56 UTC 2009


details:	http://hg.adium.im/adium/rev/db7418b3e2f9
revision:	2809:db7418b3e2f9
author:		Zachary West <zacw at adium.im>
date:		Thu Oct 29 14:10:44 2009 -0400

Set the max width to 100%, don't scale all images up to 100%.

diffs (12 lines):

diff -r 6a41be7632e5 -r db7418b3e2f9 Plugins/WebKit Message View/Template.html
--- a/Plugins/WebKit Message View/Template.html	Thu Oct 29 12:43:40 2009 -0400
+++ b/Plugins/WebKit Message View/Template.html	Thu Oct 29 14:10:44 2009 -0400
@@ -306,7 +306,7 @@
 		.actionMessageBody:after { content:"*"; }
 		hr#focus { border: 0; border-bottom: 1px solid red; width: 25%%; margin: 0 auto 0 auto; }
 		* { word-wrap:break-word; }
-		img.scaledToFitImage { height: auto; width: 100%%; }
+		img.scaledToFitImage { height: auto; max-width: 100%%; }
 	</style>
 
 	<!-- This style is shared by all variants. !-->




More information about the commits mailing list