I'm struggling with aligning the icon to the right of the quantity. When I use float:right, it places the icon at the far right of the cell instead of next to the text. Is there a way to get it to be on the right side of the text but directly adjacent to it? Any help with this issue would be greatly appreciated.
https://i.stack.imgur.com/BhoNh.png
<div>
<th class="fd-table--header-cell" [innerHTML]="quantity | fdContent"></th>
<div class="myclass">
<a [attr.id]="mySelector"
[attr.aria-describedby]="myTooltip" href="javascript:void(0);"
class="fd-tooltip-layer--selector">
<help-icon [helpIconId]="myHelpIconId" [content]="pageDataContent"
aria-label="icon" [title]="quantity"></help-icon>
</a>
</div>
</div>
.myclass {
float: right;
}