diff --git a/static/js/pandora/infoView.padma.js b/static/js/pandora/infoView.padma.js index c199efcc5..9de7eebe7 100644 --- a/static/js/pandora/infoView.padma.js +++ b/static/js/pandora/infoView.padma.js @@ -6,6 +6,7 @@ pandora.ui.infoView = function(data) { descriptions = [], canEdit = pandora.site.capabilities.canEditMetadata[pandora.user.level] || data.editable, css = { + display: 'inline-block', marginTop: '4px', textAlign: 'justify', MozUserSelect: 'text', @@ -185,12 +186,12 @@ pandora.ui.infoView = function(data) { type: 'textarea', value: data[key + 'description'] || '' }) + .css(css) .bindEvent({ submit: function(event) { editMetadata(key + 'description', event.value); } }) - .css(css) ).css({ 'margin-top': '8px', }) @@ -273,7 +274,7 @@ pandora.ui.infoView = function(data) { // Director, Cinematographer and Featuring --------------------------------- if (canEdit) { - $div = $('
').css(css).css('clear', 'both').appendTo($center); + $div = $('
').css(css).appendTo($center); ['director', 'cinematographer', 'featuring'].forEach(function(key, i) { i && $('
').css({float: 'left'}).html('; ').appendTo($div); $('
') @@ -317,7 +318,7 @@ pandora.ui.infoView = function(data) { if (canEdit) { var key = 'topic'; - $div = $('
').css(css).css('clear', 'both').appendTo($center); + $div = $('
').css(css).appendTo($center); $('
') .css({float: 'left'}) .html(formatKey('Topics').replace('', ' ')) @@ -363,12 +364,12 @@ pandora.ui.infoView = function(data) { value: data.summary || '', //width: 300 }) + .css(css) .bindEvent({ submit: function(event) { editMetadata('summary', event.value); } }) - .css(css) ) .appendTo($center); } else if (data.summary) {