fix #1513 (rights level badge too wide in context browser)

This commit is contained in:
rolux 2013-07-15 12:30:41 +00:00
parent 5a966577b0
commit b47b8b14fb
3 changed files with 5 additions and 5 deletions

View file

@ -95,7 +95,7 @@ pandora.ui.browser = function() {
this, [data[sortKey]].concat(format.args || []) this, [data[sortKey]].concat(format.args || [])
); );
if (sortKey == 'rightslevel') { if (sortKey == 'rightslevel') {
info.css({width: '96px'}); info.css({width: size * 0.75 + 'px'});
} }
} else { } else {
info = data[sortKey]; info = data[sortKey];

View file

@ -50,7 +50,7 @@ pandora.ui.clipList = function(videoRatio) {
this, [data[sortKey]].concat(format.args || []) this, [data[sortKey]].concat(format.args || [])
); );
if (sortKey == 'rightslevel') { if (sortKey == 'rightslevel') {
info.css({width: '96px'}); info.css({width: size * 0.75 + 'px'});
} }
} else { } else {
info = data[sortKey]; info = data[sortKey];

View file

@ -144,7 +144,7 @@ pandora.ui.list = function() {
this, [data[sortKey]].concat(format.args || []) this, [data[sortKey]].concat(format.args || [])
); );
if (sortKey == 'rightslevel') { if (sortKey == 'rightslevel') {
info.css({width: '96px'}); info.css({width: size * 0.75 + 'px'});
} }
} else { } else {
info = data[sortKey]; info = data[sortKey];
@ -202,7 +202,7 @@ pandora.ui.list = function() {
this, [data[sortKey]].concat(format.args || []) this, [data[sortKey]].concat(format.args || [])
); );
if (sortKey == 'rightslevel') { if (sortKey == 'rightslevel') {
info.css({width: '96px'}); info.css({width: size * 0.75 + 'px'});
} }
} else { } else {
info = data[sortKey]; info = data[sortKey];
@ -287,7 +287,7 @@ pandora.ui.list = function() {
this, [data[sortKey]].concat(format.args || []) this, [data[sortKey]].concat(format.args || [])
); );
if (sortKey == 'rightslevel') { if (sortKey == 'rightslevel') {
info.css({width: '96px'}); info.css({width: size * 0.75 + 'px'});
} }
} else { } else {
info = data[sortKey]; info = data[sortKey];