From 6dfeebfad587fd03c0449e5d3e7f0ad88132d2c5 Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Sat, 6 Sep 2014 23:30:44 +0200 Subject: Use max-width/height for project key/tag icons instead of width/height. --- web/public/js/taginfo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/public') diff --git a/web/public/js/taginfo.js b/web/public/js/taginfo.js index 4fa0ed0..e944aaa 100644 --- a/web/public/js/taginfo.js +++ b/web/public/js/taginfo.js @@ -710,7 +710,7 @@ function comparison_list_change(key, value) { function project_tag_desc(description, icon, url) { var out = ''; if (icon) { - out += img({src: icon, alt: '', width: 16, height: 16}) + ' '; + out += img({src: icon, alt: '', style: 'max-width: 16px; max-height: 16px;'}) + ' '; } if (description) { out += html_escape(description) + ' '; -- cgit v1.2.3