CSS help: Keep it on one line — Content with elements and ::after content
I'm using CSS to create numbered sidenotes, with an anchoring number in the maint text body.
Problem is that that number will wrap to a new line independently of the word it follows.
Is there a way to force the counter and preceding word to wrap together?
Example of desired wrapping:
Example of undesired wrapping:
Note the position of the superscript '1' in both images.