So, I make a button with an icon on the left. And the alignment is confused. My text does not align in the middle with the icon, and I do not know how to fix it. Linear height doesn't seem to do anything. Or touch indents / margins because I added the registration to the icon area, because I need it to be darker than the text background.
Here's a preview image:

Is there a way to fix the alignment? Or is there a way to make this button type easier with Bootstrap 4?
Here is my code:
.btn-primary {
background-color: #3382c7;
font-size: 10px;
font-weight: bold;
text-transform: uppercase;
span {
padding-left: 25px;
padding-right: 25px;
}
i {
font-size: 20px;
background-color: #306fa5;
padding: 15px 20px;
}
}
<a href="#" class="btn btn-primary border-0 rounded-0 p-0">
<i class="fa fa-play" aria-hidden="true"></i>
<span>Click here to Play</span>
</a>
Run codeHide result
source
share