From 135599acc4e46c39ae8c4bd9a35898d6ad765df8 Mon Sep 17 00:00:00 2001 From: buinsky Date: Thu, 29 Jan 2015 17:48:39 +0300 Subject: [PATCH] Center vertically text in progress bar --- src/webui/www/public/scripts/progressbar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/webui/www/public/scripts/progressbar.js b/src/webui/www/public/scripts/progressbar.js index f4a959950..32fee1fcf 100644 --- a/src/webui/www/public/scripts/progressbar.js +++ b/src/webui/www/public/scripts/progressbar.js @@ -37,7 +37,7 @@ var ProgressBar = new Class({ 'text-align': 'center', 'left': 0, 'top': 0, - 'line-height': vals.height - 2 + 'line-height': vals.height } }); obj.vals.light = new Element('div', { @@ -52,7 +52,7 @@ var ProgressBar = new Class({ 'text-align': 'center', 'left': 0, 'top': 0, - 'line-height': vals.height - 2 + 'line-height': vals.height } }); obj.appendChild(obj.vals.dark);