Repository navigation
Conversation
…d TOC Three differences from Quarto 1, found on book pages and true of every HTML page. - The prev/next strip follows main as its own child of #quarto-content, so the page grid puts it in the row under the content. On a page shorter than the window it sits at the bottom of the text column. - quarto-nav.js subtracts the footer's height from the content's min-height on every page, as Quarto 1 does, so a short page keeps its footer in the window (bd-f19dbajh). - A TOC entry repeats its section's number. The first entry stays active on a page that cannot scroll. Compared with Quarto 1.9.38 in a browser at 1400 by 900. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Contributor
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
This branch has not been deployed
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.
Three differences from Quarto 1 that show on book pages and apply to every HTML page.
<main>as its own child of#quarto-content, as in Quarto 1, so the page grid puts it in the row under the content. On a page shorter than the window it sits at the bottom of the text column and no longer directly under the text.quarto-nav.jssubtracts the footer's height from the content's min-height on every page, so a short page keeps its footer in the window with no scrollbar (bd-f19dbajh).Tested against Quarto 1.9.38 in a browser at 1400 by 900 on three book fixtures; with no footer the strip lands at Quarto 1's exact height. Tests, clippy and lint pass for the crates touched.
Not changed:
q2 previewstill places the strip insidemain. This PR and #1449 both edit the CSS baseline hash, so the second to merge needs that line regenerated.🤖 Generated with Claude Code