You just have to use inline-block, combined with vertical align : middle.
I set the height of the spinner so that he takes less space than the text in height.
Thanks for your reply. Looking at your CodePen the spinner is now actually too low:
Of course I could adjust the spinner height until it works on my screen but this solution will not work since it would not automatically respond to individual screen sizes.
There should be more general solution, don’t you think?