From ecf48b3a7bfd272746132cafbc7a9a50828da931 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sun, 29 Nov 2009 14:44:30 +0000 Subject: [PATCH] - Fix torrent status icon vertical alignment in Web UI --- src/webui/css/dynamicTable.css | 4 ++++ src/webui/scripts/dynamicTable.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/webui/css/dynamicTable.css b/src/webui/css/dynamicTable.css index b0f9cde03..0a9583f23 100644 --- a/src/webui/css/dynamicTable.css +++ b/src/webui/css/dynamicTable.css @@ -56,3 +56,7 @@ color: #fff; cursor: pointer; } + +#transferList img.statusIcon { + margin-bottom: -4px; +} diff --git a/src/webui/scripts/dynamicTable.js b/src/webui/scripts/dynamicTable.js index 56e3761d2..97c905dd8 100644 --- a/src/webui/scripts/dynamicTable.js +++ b/src/webui/scripts/dynamicTable.js @@ -231,7 +231,7 @@ var dynamicTable = new Class ({ td.adopt(new ProgressBar(row[i].toFloat(), {'id': 'pb_'+id, 'width':80})); } else { if(i==0) { - td.adopt(new Element('img', {'src':row[i]})); + td.adopt(new Element('img', {'src':row[i], 'class': 'statusIcon'})); } else { td.set('html', row[i]); }