diff --git a/README.rst b/README.rst index ae5a90aa1..8be79a0c1 100644 --- a/README.rst +++ b/README.rst @@ -91,7 +91,7 @@ This is the last major release to support Python 3.7. * Make sure the line number coming from ast analysis has precedence over the line of a ``ivar`` field. * Ensure that all docutils generated css classes have the ``rst-`` prefix, the base theme have been updated accordingly. * Fix compatibility issue with docutils 0.21.x -* Transform annotations to use python 3.10 style: ``typing.Union[x ,y]`` -> ``x | y``; ``typing.Optional[x]`` -> ``x | None``; ``typing.List[x]`` -> ``list[x]``. +* Transform annotations to use python 3.10 style: ``typing.Union[x, y]`` -> ``x | y``; ``typing.Optional[x]`` -> ``x | None``; ``typing.List[x]`` -> ``list[x]``. * Do not output useless parenthesis when colourizing subscripts. pydoctor 23.9.1 diff --git a/pydoctor/themes/base/apidocs.css b/pydoctor/themes/base/apidocs.css index 70a21d26c..537c3ba5c 100644 --- a/pydoctor/themes/base/apidocs.css +++ b/pydoctor/themes/base/apidocs.css @@ -230,7 +230,7 @@ ul ul ul ul ul ul ul { .fieldTable tr:not(.fieldStart) td:first-child, .valueTable tr:not(.fieldStart) td:first-child{ - padding: 3px 4px 3px 10px; + padding: 3px 4px 3px 15px; } .fieldTable tr td { @@ -246,14 +246,15 @@ ul ul ul ul ul ul ul { /* parameters names in parameters table */ .fieldTable tr td.fieldArgContainer > .fieldArg { - display: inline; + float: left; + margin-left: -5px; } /* parameters types (in parameters table) */ .fieldTable tr td.fieldArgContainer > code { /* we don't want word break for the types because we already add tags inside the type HTML, and that should suffice. */ word-break: normal; - display: inline-block; + display: inline; flex-wrap: wrap; }