Skip to content

Add styling rule to field-list for vertical alignment#296

Open
WangRemy wants to merge 1 commit intopython:mainfrom
WangRemy:fix_vertical_allignment_of_definition_terms
Open

Add styling rule to field-list for vertical alignment#296
WangRemy wants to merge 1 commit intopython:mainfrom
WangRemy:fix_vertical_allignment_of_definition_terms

Conversation

@WangRemy
Copy link

@WangRemy WangRemy commented Feb 13, 2026

Fixes #289

Before

Before

After

After

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

@hugovk
Copy link
Member

hugovk commented Feb 13, 2026

Thanks for the PR, please also check other places this style is used, for example:

/* Below for most things in text */

dl.field-list > dt {
align-self: center;
Copy link
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.

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.

Fix vertical alignment of definition terms

3 participants