When I try to add the new bootstrap icons to a button, it seems that the image is somewhat off:
I could add a margin on the bottom but that seems to much of a "work around". If I inspect the code on: https://icons.getbootstrap.com/icons/x-circle/ they are also not using any workarounds but there it looks as expected.
This is how I add my button:
<a href="#" type="button" class="btn btn-danger"><i class="bi bi-x-circle"></i> Cancel</a>
One slight difference I spotted is that if one gets the icon through the icon font instead of the svg, it adds some space on top of the image which I can't get rid off by any padding controls.
I followed the "installation" instructions step-by-step and other components work as expected. Also font-awesome works like a charm.
Any ideas how to get this right?
EDIT: thank you all for your replies so far. I went through all of them:
@vishal:
<div style="text-align:center; width:100%;">
<a href="#" type="button" class="btn btn-danger"><i class="bi bi-x-circle"></i> Cancel</a>
</div>
yielded in a button looking like this:

@George:
<a href="#" type="button" class="d-flex justify-content-center align-items-center col-12 btn btn-danger"><i class="bi bi-x-circle pr-2"></i> Cancel</a>
Here I had to extend col-1 to col-12. But also then it yielded this button:

@camaulay: if I use the svg and make an adjustment to width and height (set both to 20) and adjust the viewbox positioning to "0 0 20 20", the result actually looks as expected:
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" class="bi bi-x-circle" viewBox="0 0 20 20">
So I could mark this as the correct answer. Nevertheless I'm wondering why the <i>-Tag does result in such strange behaviour?
If I add the border class to the "picture" then one sees that there is some extra space on top of the image:
<a href="#" type="button" class="btn btn-danger"><i class="bi bi-x-circle pr-2 border"></i> Cancel</a>


