Skip to content

Commit a0fc306

Browse files
committed
fixup! refactor: Add backlinks metadata to autorefs elements
1 parent 36a988c commit a0fc306

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/mkdocstrings_handlers/python/templates/material/_base/class.html.jinja

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ Context:
3737
heading_level,
3838
role="class",
3939
id=html_id,
40-
title=html_id,
4140
class="doc doc-heading",
4241
toc_label=('<code class="doc-symbol doc-symbol-toc doc-symbol-class"></code>&nbsp;'|safe if config.show_symbol_type_toc else '') + class.name,
4342
) %}

src/mkdocstrings_handlers/python/templates/material/style.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,12 @@
4242
}
4343

4444
/* Backlinks crumb separator. */
45-
.doc-backlink-crumb:not(:first-child) {
45+
.doc-backlink-crumb {
4646
display: inline-flex;
4747
gap: .2rem;
4848
white-space: nowrap;
49+
align-items: center;
50+
vertical-align: middle;
4951
}
5052
.doc-backlink-crumb:not(:first-child)::before {
5153
background-color: var(--md-default-fg-color--lighter);
@@ -55,7 +57,6 @@
5557
-webkit-mask-image: var(--md-path-icon);
5658
mask-image: var(--md-path-icon);
5759
width: 1rem;
58-
font-size: 1rem;
5960
}
6061

6162
/* Symbols in Navigation and ToC. */

0 commit comments

Comments
 (0)