style(ui): optimize responsive layout, typography scaling, and touch targets across devices - #7
Closed
revatikadam0607 wants to merge 1 commit into
Closed
Conversation
|
@revatikadam0607 is attempting to deploy a commit to the Aryan Gupta's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Owner
|
the vercel deployment is failing, see the issue |
Author
okay i'll check |
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.
closes #6
🎯 Overview
This PR addresses layout regressions, rendering bugs, and accessibility gaps across mobile and tablet viewports. By introducing dedicated component and typography scaling layers directly into client/src/app/globals.css, it establishes a bulletproof responsive framework across all major device breakpoints while strictly preserving the existing visual design and dark mode configuration.
🛠️ Key Transformations
📱 Breakpoint & Viewport Layouts: Added responsive structural helpers (.section-container and .flex-responsive) that cleanly stack columns into rows on narrow viewports to adapt seamlessly from smartphones to tablet displays.
📐 Realignment & Global Box-Sizing: Enforced global border-box constraints (* { @apply border-border; }) and matched vertical padding rhythms to fix spacing inconsistencies between code content and landing panels.
📦 Complete Overflow Defense: Secured complex structures (.card, .grid-card) and text blocks (pre, code) with dynamic auto-wrapping (whitespace-pre-wrap) and localized horizontal scrolling to prevent elements from leaking or clipping
📝 Fluid Typography Scaling: Scaled down headers (h1 through h3) with breakpoint-conditional sizes (sm:, md:) and expanded body spacing with leading-relaxed to maximize readability on compact screens.
🎯 Touch Target Enforcement: Configured a minimum footprint size (min-h-[44px] min-w-[44px]) on interactive elements for touch screen accuracy, paired with an active compression animation (active:scale-[0.98]) for tactical press feedback.
I've resolved the issue. Kindly review it, and if everything looks good, please consider merging the corresponding PRs.

Also @Aryan0628 , could you please review this merged PR for a potential bonus label based on the metrics below?