From e4df8b3a4fa12cefa5bf29135325da08046f10a1 Mon Sep 17 00:00:00 2001 From: Nicolas Peugnet Date: Fri, 20 Jan 2023 15:26:46 +0100 Subject: [PATCH] html: prevent permalink icon from wrapping alone See: https://github.com/readthedocs/sphinx_rtd_theme/issues/1412 --- _static/club1.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/_static/club1.css b/_static/club1.css index 16f79a30..a597bbe6 100644 --- a/_static/club1.css +++ b/_static/club1.css @@ -38,9 +38,11 @@ a.fa::before, a.icon::before, a button.toctree-expand::before { font-size: 70%; } -/* Make size of permalink icon depend on target's size */ .rst-content a.headerlink { + /* Make size of permalink icon depend on target's size */ font-size: 80%; + /* Prevent permalink icon from wrapping alone */ + display: inline; } /* Highlight version selector on hover */