I would like to remove underline under font awesome icon and add the icon with last word in new line. If I use the display:inline-block
then it removes the underline then issue is, it is breaking the icon without last word in new line.
I am using the below code.
a.external-link::after {
font-family: 'Font Awesome 5 Pro';
content: 'a-a';
background-color: white;
font-weight: 400;
margin-left: 4px;
font-size: 10px;
display:inline;
}
<a href="http://google.com" class="external-link">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod d
</a>
Instead of icon here I am using a-a
.