Created by: SaptakS
Fixes #1150 (closed)
I have put all the innerHTML content inside a <span>
tag so that the flex can only be between the text and :after
focus line. Also added overflow-y: hidden
for code inside toc. This should solve all the problems.
I was trying to avoid putting a <span>
inside an <a>
tag, but maybe it's not too horrible? And feel like fixes the design bugs.
@ericwbailey @aardrian what do you think?