I'm working on a radio button with a label spanning two lines, but the whitespace between the lines is too much. I need to reduce it.
Here's my code example:
<label for="reg-promo">
<input type="radio" name="promotion" id="registerPromo" v-validate="'required'" checked="checked"
v-model="registerPromo" value="reg-promo" />
<span>
<b>Welcome Offer</b>
<p id="welcomeOfferSubtext">$35 in credits available</p>
</span>
</label>
The welcomeOfferSubtext
ID applies a padding of 28px
to the left of the paragraph:
#welcomeOfferSubtext {
padding-left: 28px;
}
Currently, the design looks like this:
https://i.sstatic.net/zcndD.png
However, I want it to resemble this style:
https://i.sstatic.net/8QEDQ.png
What would be the best approach to correct this spacing issue without using line-height
from CSS?
P.S
Please disregard any discrepancies in the sentences; the primary concern is adjusting the spacing effectively.