python / python/python-docs-theme

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.

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

Description

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.

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.

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.