Skip to content

Conversation

@DavidOliver
Copy link
Contributor

@DavidOliver DavidOliver commented Oct 24, 2025

Re. #2150

@josevalim, in the previous PR, module heading spacing (under "Summary", for example) and cheatsheets were affected, as well as admonition block headings as you pointed out.

This PR changes approach and attempts to target only "top content" in "module" and "extra" pages, and only those headings which are direct children of the #top-content element.

I'll test further before converting to a full/non-draft PR, but I thought I'd put this up to see what you think of this approach.

@github-actions
Copy link

github-actions bot commented Oct 24, 2025

josevalim
josevalim previously approved these changes Oct 27, 2025
Replace h2 padding-top with margin-top: avoids too-large spaces above.

Additionally target page-task content.

Add explanatory note.
@DavidOliver DavidOliver changed the title Better differentiate headings/sections in top/extra content Better differentiate headings/sections Oct 28, 2025
@DavidOliver DavidOliver dismissed josevalim’s stale review October 28, 2025 16:15

These subsequent commits haven't yet been tried out.

@josevalim
Copy link
Member

@DavidOliver I will mark it as ready for review so it publishes the precompiled archives for validation. :)

@josevalim josevalim marked this pull request as ready for review October 29, 2025 06:38
@josevalim
Copy link
Member

Gah, my bad, it was not necessary, I just missed the updated comment at the top :D

Copy link
Member

@josevalim josevalim left a comment

Choose a reason for hiding this comment

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

All looks great to me!

@DavidOliver
Copy link
Contributor Author

Selector tweak and related necessary updates made. Ready for final check and approval.

@DavidOliver DavidOliver merged commit 6719f49 into elixir-lang:main Oct 29, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants