Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGES/4127.doc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Stopped ``Parameters:``, ``Returns:`` and other field-list labels in the
rendered documentation from collapsing into a one-character-wide column by
giving ``dl.field-list>dt`` a small ``min-width`` in the custom stylesheet.
10 changes: 10 additions & 0 deletions docs/_static/css/logo-adjustments.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,13 @@
.sphinxsidebarwrapper>p.logo>a>img.logo {
width: 65%;
}

/*
* Prevent the "Parameters:", "Returns:", "Raises:" (and other field-list
* labels generated by Sphinx for ``:param:`` / ``:return:`` / ``:raise:``)
* from being squeezed into a one-character-wide column when the field
* body is long. See aio-libs/aiohttp#4127.
*/
dl.field-list>dt {
min-width: 6em;
}
Loading