Change the space between paragraphs in Qualtrics

The space between paragraphs in the Qualtrics might be too large, how to reduce the space?

One solution is to add JS code in the “Question JavaScript” to change the padding size or margin size before and after one paragraph.

1
2
jQuery("#"+this.questionId).find('.QuestionText:first').css("padding-bottom", "0px");
jQuery("#"+this.questionId).find('.QuestionText:first').css("padding-top", "0px");

Note, Qualtrics appears to set up some kind of minimum space between paragraphs so even if you change the padding value to 0, the space might still be large.