I have a question that I have this code applied to
Qualtrics.SurveyEngine.addOnload(function() {
var questionID = this.getQuestionContainer().id;
var lastListItem = document.querySelector('#' + questionID + ' li:last-of-type');
if (lastListItem) {
lastListItem.style.borderTop = 'none';
lastListItem.style.margin = '0';
lastListItem.style.padding = '0';
}
var labels = document.querySelectorAll('#' + questionID + ' label');
labels.forEach(function(label) {
label.style.setProperty('margin-top', '0', 'important');
});
});
However, as you can see from this picture, there are still lines appearing!

How do I remove ALL the lines from this list?
Would prefer JavaScript - if available - too!