style(story-budget): refresh print stylesheet for modern WordPress#848
Merged
style(story-budget): refresh print stylesheet for modern WordPress#848
Conversation
Completely rewrote the print stylesheet to work with modern WordPress admin (6.x) and provide a clean, readable printout of the Story Budget. Changes: - Hide modern admin elements (admin bar, menu, notices, screen options) - Hide Story Budget navigation/filters (not needed in print) - Force single-column layout for consistent printing - Use system font stack matching WordPress admin - Add proper page margins and typography - Include page break handling to avoid split content - Ensure collapsed categories still print their content - Show post excerpts in print view Fixes #177 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.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.
Summary
Completely rewrote the Story Budget print stylesheet to work with modern WordPress admin (6.x) and provide a clean, readable printout.
Changes
Hidden elements:
Layout:
@pagerule)Typography:
Special handling:
Before/After
The original issue (#177) from 2014 just said "It got ugly again" - even the original author doesn't remember what was wrong! This refresh brings the print styles up to date with the current WordPress admin structure.
Test plan
Fixes #177
🤖 Generated with Claude Code