From 530454719be8c2e2b4a70b8cf192f60f6d843000 Mon Sep 17 00:00:00 2001 From: rolux Date: Sat, 9 Feb 2013 15:21:58 +0530 Subject: [PATCH] fix pad.ma info page css --- static/js/pandora/infoView.padma.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/static/js/pandora/infoView.padma.js b/static/js/pandora/infoView.padma.js index 0833cd224..9208e5e03 100644 --- a/static/js/pandora/infoView.padma.js +++ b/static/js/pandora/infoView.padma.js @@ -359,8 +359,9 @@ pandora.ui.infoView = function(data) { type: 'textarea', value: data.summary || '' }) - // 4px marginTop gets duplicated in the editable, result is 8px .css(css) + // 8px marginTop gets duplicated in the editable, result is 16px + .css({marginTop: '8px'}) .bindEvent({ submit: function(event) { editMetadata('summary', event.value); @@ -369,12 +370,12 @@ pandora.ui.infoView = function(data) { ) .appendTo($center); } else if (data.summary) { - $('
').css(css).html(data.summary).appendTo($center); + $('
').css(css).css({marginTop: '16px'}).html(data.summary).appendTo($center); } // License ----------------------------------------------------------------- - $div = $('
').css(css).css({marginTop: '8px'}).appendTo($center); + $div = $('
').css(css).css({marginTop: '16px'}).appendTo($center); if (canEdit) { $('
') .css({float: 'left'})