Skip to content

Commit ba66969

Browse files
committed
fix: Prevent uppercasing H5 titles (by Material for MkDocs)
Issue-mkdocstrings-697: mkdocstrings/mkdocstrings#697 Issue-276: #276
1 parent 096960a commit ba66969

File tree

1 file changed

+5
-0
lines changed
  • src/mkdocstrings_handlers/python/templates/material

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
display: inline;
1010
}
1111

12+
/* No text transformation from Material for MkDocs for H5 headings. */
13+
.md-typeset h5 .doc-object-name {
14+
text-transform: none;
15+
}
16+
1217
/* Max width for docstring sections tables. */
1318
.doc .md-typeset__table,
1419
.doc .md-typeset__table table {

0 commit comments

Comments
 (0)