Skip to content

Fields in functions are unnaturally big when using HTML5 writer #920

@Jackenmen

Description

@Jackenmen

Problem

Fields in functions look unnaturally big when using HTML5 writer
// I'm creating this from my comment in #916 since it's better to have it in separate issue.

Reproducible Project

Link: https://jack1142-red-prs.readthedocs.io/en/v3-bump_deps_html5_writer/framework_bank.html#redbot.core.bank.set_balance

Minimal reproduction:

.. function:: foo(bar)

    Description of the function

    :param bar: Description of param
    :type bar: :class:`str`

Error Logs/Results

Fields in functions look unnaturally big when using HTML5 writer (https://jack1142-red-prs.readthedocs.io/en/v3-bump_deps_html5_writer/framework_bank.html#redbot.core.bank.set_balance):
image

Expected Results

It should probably look the same as when using HTML4 writer (https://docs.discord.red/en/latest/framework_bank.html#redbot.core.bank.set_balance):
image

Environment Info

  • Python Version: 3.8.2
  • Sphinx Version: 3.0.3 (happens on 2.4.4 as well)
  • RTD Theme Version: 0.5.0rc1

Metadata

Metadata

Assignees

No one assigned

    Labels

    AcceptedAccepted issue on our roadmapBugA bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions