Center vertically text in progress bar

This commit is contained in:
buinsky 2015-01-29 17:48:39 +03:00
parent 18b036545c
commit 135599acc4

View file

@ -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);