# HG changeset patch # User James Levy # Date 1246879140 -7200 # Node ID cba50e22ff6bcb5465b4c4bd2d5d26cbb531ea6d # Parent d1175010235e4457410848a664b7c717a7ee2112 Use CSS instead of JS for Survey layout. Reviewed by: Lennard de Rijk diff -r d1175010235e -r cba50e22ff6b app/soc/content/css/soc-090627.css --- a/app/soc/content/css/soc-090627.css Mon Jul 06 12:06:28 2009 +0200 +++ b/app/soc/content/css/soc-090627.css Mon Jul 06 13:19:00 2009 +0200 @@ -768,6 +768,10 @@ margin: 10px; } +div #survey_widget textarea.comment{ +margin-bottom: 30px; +} + div #survey_widget td > fieldset > label { font-size: 11px; } diff -r d1175010235e -r cba50e22ff6b app/soc/content/js/survey-take-090705.js --- a/app/soc/content/js/survey-take-090705.js Mon Jul 06 12:06:28 2009 +0200 +++ b/app/soc/content/js/survey-take-090705.js Mon Jul 06 13:19:00 2009 +0200 @@ -149,7 +149,6 @@ var comments = widget.find('td > .comment'); comments.each(function(){ $(this).parents('tr:first') - .css({'margin-top': '-10px', 'margin-bottom': '30px'}) .prev().css({'margin-top': '-10px'}) .find('label').css({'font-size': '11px'}); });