Repository navigation
Hide print styles in authenticated layout - #260
Merged
Merged
Conversation
…server-sdk:0.32.9, trpc-backend-init:0.9.80, openapi-docs-ui:0.1.10, auth-server:0.55.7, example-nextjs-resource-server:0.5.11 - @schemavaults/ui 0.112.1; hide dashboard chrome when printing Update @schemavaults/ui (0.111.0 -> 0.112.1) everywhere. The new DashboardLayout hides the persistent desktop sidebar below the md breakpoint. The server render and the first client render cannot know the viewport yet, so on a phone they used to paint the desktop sidebar over the page until the mobile Sheet replaced it. The authenticated layout now passes printHidden to DashboardLayout, so printed pages (and saved PDFs) leave out the sidebar and the top bar, and the page content takes the full width and runs across pages instead of being clipped to one viewport. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017foqndMCNx6YuCwKzWpNYu
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
Add
printHiddenprop to the authenticated layout's main container to hide print-related UI elements when printing.Changes
printHiddenprop to the<MainContainer>component to suppress print styling for the authenticated layoutVersion Bumps
Updated
@schemavaults/uidependency from0.111.0to0.112.1across multiple packages:Bumped patch versions for dependent packages:
Implementation Details
The
printHiddenprop is passed to<MainContainer>in the authenticated layout, which likely applies CSS to hide navigation and other UI elements when the page is printed, improving the print experience for authenticated users.https://claude.ai/code/session_017foqndMCNx6YuCwKzWpNYu