Prevent permalink icon from wrapping alone#1417
Prevent permalink icon from wrapping alone#1417n-peugnet wants to merge 2 commits intoreadthedocs:masterfrom
Conversation
.fa styles sets display to inline-block. We force the .headerlink elments to stay inline, to make it wrap together with the previous word.
benjaoming
left a comment
There was a problem hiding this comment.
@agjohnson any worries about this one?
From a test, this works. The placement of the pilcrow seems unchanged

I also just discovered that it's not a pilcrow in later versions of Sphinx.
I think the link icon comes from the RTD theme: sphinx_rtd_theme/sphinx_rtd_theme/__init__.py Lines 72 to 76 in 6444ca8 The strange part for me is: in which conditions do you have the pilcrow with Sphinx RTD theme? |
LOL, I honestly didn't consider this the reason. So I'm actually seeing the new icon after we started building with a fix in readthedocs/readthedocs.org#9654 -- long story short, then the |



.fastyles setsdisplaytoinline-block. We force the.headerlinkelements to stayinline, to make it wrap together with the previous word.This should fix: #1412
But I will wait @benjaoming to push the built assets to see the result.