OUT-3857 | Screen preview outline disappears on smaller screens - #214
Merged
arpandhakal merged 1 commit intoJun 23, 2026
Conversation
…n size The border and shadow were conditionally hidden below 860px via max-[860px]:border-0 and min-[860px]:border, introduced in OUT-3296. Restore always-on border, shadow, and rounded corners to match pre-OUT-3296 behaviour. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Changes
max-[860px]:border-0,min-[860px]:border,max-[860px]:shadow-none,min-[860px]:shadow-sm,max-[860px]:rounded-none) that were introduced in OUT-3296border,shadow-sm, androunded-lgon the preview container so the outline is visible at all screen sizesRoot Cause
fix(OUT-3296)swapped the original always-on border/shadow classes for viewport-width-conditional variants, which caused the outline to vanish below 860px.Testing
Impact
Low — single-line class change to a presentational wrapper
divinPreview.tsx. No logic or data flow affected.Fixes OUT-3857
🤖 Generated with Claude Code