Improve how whitespace & line height is handled in the stylesheets

Open Beginner friendly
#289 7 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
css
Domain
documentation

Research direction

Start by examining the theme stylesheets for rules affecting the

,
, and
structure used for “Editors,” then compare the rendered example in the linked Python documentation page. Check other uses of this HTML in the docs and confirm that the vertical alignment and line height are corrected consistently.

Written by the indexing model from the issue text.

Description

bug help wanted

The vertical alignment of "Editors" inside its box is a bit off, it's too high up: https://docs.python.org/3/whatsnew/3.14.html

Image

This is a <dl><dt>Editors</dt><dd>...</dd> structure.

We should also check other uses of this HTML in the docs.

Dominant language
CSS
Stars
90
Forks
78
Avg merge
2d 19h
Merged PRs (30d)
4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from python/python-docs-theme

All issues in python/python-docs-theme

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.