Add a landscape layout for tablets (#223) - #259
Merged
arisu6804 merged 2 commits intoJul 24, 2026
Conversation
- Wire the existing Sidebar component into App.jsx alongside a new .app-content wrapper for Navbar, main content, and Footer - Add tablet landscape breakpoint (721px–1024px) in responsive.css with 2-column features grid and compact content padding - Add landscape-layout integration tests covering the CSS breakpoint, sidebar rendering, and app-content structure - Update README with responsive layout documentation
Contributor
|
Nice one — well scoped and easy to review. 👏 |
Contributor
|
Reads well — nice job! 💪 |
Contributor
|
LGTM — thanks! 🚀 |
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
Adds a landscape-specific layout for tablets by integrating the existing Sidebar component into the app shell and introducing a dedicated responsive breakpoint for the 721px–1024px viewport range.
Changes
Layout (
src/App.jsx)Sidebarcomponent into the app layout alongside a new.app-contentwrapper.app-contentfor proper flex layoutResponsive styles (
src/responsive.css)@media (min-width: 721px) and (max-width: 1024px)).featuresgrid collapses to 2 columns (down from 3 on desktop).app-mainpadding tightens from2rem 1.5remto1.5rem 1.25remfor better space usageTests (
test/integration/landscape-layout.test.jsx).app-contentwrapper correctly contains Navbar + FooterDocumentation (
README.md)Verification
npm run buildpasses cleanlyViewport breakdown
Closes #223.