Repository navigation
Fix list spacing on the docs home page - #2966
Merged
Merged
Conversation
A rule left over from when the home page showed its tables of contents removed the margin after every list on it, so the page used <br/> blocks to space them. Removes the rule and the workarounds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #2433
doc/_static/css/custom.csshad#the-python-arcade-library ul { margin-top: 0; margin-bottom: 0; }, from the docs overhaul in #1553. Back then the home page showed its tables of contents as lists. They're hidden now, so the rule only removed the normal spacing after the home page's three bullet lists, which is whydoc/index.rstused.. raw:: html<br/>blocks.This removes the rule and the four
.. pending: #2433workarounds. The rule only matched the home page, so other pages don't change.I checked by building the docs before and after and comparing Chrome screenshots of the home page at desktop and phone widths. The spacing looks the same; it now comes from the theme's normal list margin. The docs build has no new warnings.
🤖 Generated with Claude Code