diff options
author | Jochen Topf <jochen@topf.org> | 2014-09-06 23:30:44 +0200 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2014-09-06 23:30:44 +0200 |
commit | 6dfeebfad587fd03c0449e5d3e7f0ad88132d2c5 (patch) | |
tree | 999d6c317d06affa126ccab6d1ef307b00be62b0 /web/public | |
parent | 64c631b8022b9901ecf86929a3d57ee0debb338d (diff) | |
download | taginfo-6dfeebfad587fd03c0449e5d3e7f0ad88132d2c5.tar taginfo-6dfeebfad587fd03c0449e5d3e7f0ad88132d2c5.tar.gz |
Use max-width/height for project key/tag icons instead of width/height.
Diffstat (limited to 'web/public')
-rw-r--r-- | web/public/js/taginfo.js | 2 |
1 files changed, 1 insertions, 1 deletions
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) + ' '; |