From d0e529035764f47e1cfc2df2c21a068c2d490d9b Mon Sep 17 00:00:00 2001 From: rolux Date: Fri, 19 Jul 2013 09:52:12 +0000 Subject: [PATCH] fix #1404 (software tab: pan.do/ra logo should move a bit further up) --- static/js/siteDialog.0xdb.js | 13 +++++++++---- static/js/siteDialog.js | 13 +++++++++---- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/static/js/siteDialog.0xdb.js b/static/js/siteDialog.0xdb.js index 921bdfa8..534751b8 100644 --- a/static/js/siteDialog.0xdb.js +++ b/static/js/siteDialog.0xdb.js @@ -108,10 +108,15 @@ pandora.ui.siteDialog = function(section) { .css({padding: '16px'}) .append( $('') - .attr({src: '/static/png/' + ( - id == 'software' ? 'software' : 'logo' - ) + '.png'}) - .css({width: '256px'}) + .attr({ + src: '/static/png/' + ( + id == 'software' ? 'software' : 'logo' + ) + '.png' + }) + .css({ + width: '256px', + marginTop: id == 'software' ? '-16px' : 0 + }) ), size: 272 }, diff --git a/static/js/siteDialog.js b/static/js/siteDialog.js index 17981437..a6d97cf9 100644 --- a/static/js/siteDialog.js +++ b/static/js/siteDialog.js @@ -79,10 +79,15 @@ pandora.ui.siteDialog = function(section) { .css({padding: '16px'}) .append( $('') - .attr({src: '/static/png/' + ( - id == 'software' ? 'software' : 'logo' - ) + '.png'}) - .css({width: '256px'}) + .attr({ + src: '/static/png/' + ( + id == 'software' ? 'software' : 'logo' + ) + '.png' + }) + .css({ + width: '256px', + marginTop: id == 'software' ? '-16px' : 0 + }) ), size: 272 },