Skip to content

Commit

Permalink
docs[python]: Render long method names on multiple lines (#4591) (#4604)
Browse files Browse the repository at this point in the history
Render long method names on multiple lines, so no sidewards
scrolling is needed to see them.
  • Loading branch information
ghuls committed Aug 29, 2022
1 parent ae783ba commit c24d9b9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion py-polars/docs/source/_static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,9 @@ dt em.sig-param:last-of-type::after {
/* To have blue background of width of the block (instead of width of content) */
dl.class > dt:first-of-type {
display: block !important;
}
}

/* Display long method names over multiple lines in navbar. */
.bd-toc-item {
overflow-wrap: break-word;
}

0 comments on commit c24d9b9

Please sign in to comment.