Repository navigation
Keep Fixed left on single posts and pages - #39
Merged
Merged
Conversation
Blog and archive pages were lifting the first outline out of its post and docking it beside the whole list. Co-authored-by: Matt Hummel <matthummel@proton.me>
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_7c0d35d0-2c6a-4aab-92b4-bdcc9b20c625) |
This branch was successfully 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.
What does this PR do?
Fixed left was docking the first outline on blog and archive pages, pulling it out of its post and shifting the whole list into a two-column grid. The left column now applies only when WordPress marks the view as a single post, page, or attachment. Archives keep the outline with the content. Small screens are unchanged.
Closes #
Type of change
How was this tested?
WordPress 6.8, PHP 8.2, Playground at http://127.0.0.1:8888, theme Twenty Twenty-Five.
mainstaysdisplay: block, and post titles are not shifted into a side column.main, no inner scrollbar, header and body are not padded, Focus / collapse / close stay on one row, and the column sticks while scrolling.Checklist
npm run buildcompletes without errorsnpm run lint:jsandnpm run lint:csspassWP_DEBUGonnode_modules/orbuild/readme.txt/CHANGELOG.mdupdated if behavior changedtocguide(not a variable)