◐ Shell
clean mode source ↗

Add styling rule to field-list for vertical alignment by WangRemy · Pull Request #296 · python/python-docs-theme

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@WangRemy

@WangRemy WangRemy commented

Feb 13, 2026

edited

Loading

Copy link Copy Markdown

Fixes #289

Before

Before

After

After


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

@hugovk

hugovk commented

Feb 13, 2026

Copy link Copy Markdown

Member

/* Below for most things in text */

dl.field-list > dt {
align-self: center;

Copy link Copy Markdown

Member

Choose a reason for hiding this comment

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

Note that this is redundant, it is inherited anyway. But, as Hugo noted, this is currently broken either way.

@StanFromIreland

Copy link Copy Markdown

Member

Closed in favour of #303.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@StanFromIreland StanFromIreland StanFromIreland left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Improve how whitespace & line height is handled in the stylesheets

3 participants

@WangRemy @hugovk @StanFromIreland