make HSL values right-aligned in info view
This commit is contained in:
parent
85e721d55e
commit
7af2afae73
1 changed files with 6 additions and 2 deletions
|
@ -424,7 +424,11 @@ pandora.ui.infoView = function(data) {
|
||||||
$('<div>')
|
$('<div>')
|
||||||
.css({marginBottom: '4px'})
|
.css({marginBottom: '4px'})
|
||||||
.append(formatKey(key, true))
|
.append(formatKey(key, true))
|
||||||
.append(Ox.Theme.formatColor(data[key] || 0, key == 'volume' ? 'lightness' : key))
|
.append(
|
||||||
|
Ox.Theme.formatColor(
|
||||||
|
data[key] || 0, key == 'volume' ? 'lightness' : key
|
||||||
|
).css({textAlign: 'right'})
|
||||||
|
)
|
||||||
.appendTo($statistics);
|
.appendTo($statistics);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue