Skip to content

Commit 24e0374

Browse files
committed
Fix header links for captions in tables and figures
1 parent 474f2ee commit 24e0374

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

sphinx_rtd_theme/static/css/theme.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/sass/_theme_rst.sass

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@
213213
@extend h2
214214

215215
// This is the #href that shows up on hover. Sphinx's is terrible so I hack it away.
216-
h1, h2, h3, h4, h5, h6, dl dt, p.caption, table > caption, .code-block-caption
216+
h1, h2, h3, h4, h5, h6, dl dt, p, p.caption, table > caption, .code-block-caption
217217
.headerlink
218218
opacity: 0
219219
font-size: 14px

0 commit comments

Comments
 (0)