From 011fed137dba9097b70d17793fb2354921105635 Mon Sep 17 00:00:00 2001 From: rolux Date: Sat, 9 Feb 2013 15:18:48 +0530 Subject: [PATCH] fix pad.ma info page css --- static/js/pandora/infoView.padma.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/static/js/pandora/infoView.padma.js b/static/js/pandora/infoView.padma.js index c7b2e245..0833cd22 100644 --- a/static/js/pandora/infoView.padma.js +++ b/static/js/pandora/infoView.padma.js @@ -359,9 +359,8 @@ pandora.ui.infoView = function(data) { type: 'textarea', value: data.summary || '' }) + // 4px marginTop gets duplicated in the editable, result is 8px .css(css) - // this gets duplicated in the editable, result is 16px - .css({marginTop: '8px'}) .bindEvent({ submit: function(event) { editMetadata('summary', event.value); @@ -375,7 +374,7 @@ pandora.ui.infoView = function(data) { // License ----------------------------------------------------------------- - $div = $('
').css(css).css({marginTop: '4px'}).appendTo($center); + $div = $('
').css(css).css({marginTop: '8px'}).appendTo($center); if (canEdit) { $('
') .css({float: 'left'}) @@ -386,8 +385,6 @@ pandora.ui.infoView = function(data) { tooltip: 'Doubleclick to edit', value: (data.license || []).join(', ') }) - // this gets duplicated in the editable, result is 16px - .css({marginTop: '8px'}) .bindEvent({ submit: function(event) { editMetadata('license', event.value);