aboutsummaryrefslogtreecommitdiff
path: root/web/public
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2014-09-06 23:30:44 +0200
committerJochen Topf <jochen@topf.org>2014-09-06 23:30:44 +0200
commit6dfeebfad587fd03c0449e5d3e7f0ad88132d2c5 (patch)
tree999d6c317d06affa126ccab6d1ef307b00be62b0 /web/public
parent64c631b8022b9901ecf86929a3d57ee0debb338d (diff)
downloadtaginfo-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.js2
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) + ' ';