Skip to content

Set line-height on field-list term#303

Merged
pradyunsg merged 1 commit intopython:mainfrom
pradyunsg:fix-vertical-alignment-in-field-lists
Apr 14, 2026
Merged

Set line-height on field-list term#303
pradyunsg merged 1 commit intopython:mainfrom
pradyunsg:fix-vertical-alignment-in-field-lists

Conversation

@pradyunsg
Copy link
Copy Markdown
Member

@pradyunsg pradyunsg commented Apr 14, 2026

Fixes #289, by making a targeted change
Closes #296, by resolving the underlying issue

Before After
Screenshot 2026-04-14 at 11 00 56 Screenshot 2026-04-14 at 11 00 54
Screenshot 2026-04-14 at 11 07 50 Screenshot 2026-04-14 at 11 07 47

📚 Documentation preview 📚: https://python-docs-theme-previews--303.org.readthedocs.build/

@pradyunsg pradyunsg self-assigned this Apr 14, 2026
@python-cla-bot
Copy link
Copy Markdown

python-cla-bot bot commented Apr 14, 2026

All commit authors signed the Contributor License Agreement.

CLA signed

Align text within field-list `dt` tags with the `p` tags within the
corresponding `dd` tags.
Copy link
Copy Markdown
Member

@hugovk hugovk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pradyunsg pradyunsg merged commit 54e4045 into python:main Apr 14, 2026
14 checks passed
@pradyunsg pradyunsg deleted the fix-vertical-alignment-in-field-lists branch April 14, 2026 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve how whitespace & line height is handled in the stylesheets

2 participants