In my current project on fiddle, I am working on adjusting the height of a CSS class:
The specific class I am targeting is "pds-vote":
.pds-vote {
background-color:#424242;
height:20px !important;
}
However, I'm facing an issue where the height is not being uniformly reduced. The space below the vote button appears smaller than the space above it. Is there a way to adjust the height uniformly so that there is an equal border above and below the vote button?
Here is the relevant code snippet from the fiddle:
.pds-question-top {
font-size:10pt !important;
padding-top:1px !important;
padding-bottom:1px !important;
margin-top:1px !important;
margin-bottom:1px !important;
}
/* Additional CSS rules here */
$(document).ready(function() {
$('.pds-question-inner').prepend('<span style="color:red;font-weight:bold;font-size: 15px;float:left">Header</span>');
});