fix: responsive layout for mobile and tablet viewports#221
Conversation
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request focuses on improving the responsiveness of the website for mobile and tablet devices. It addresses several layout issues, spacing inconsistencies, and font sizing problems to provide a better user experience across different screen sizes. The changes include fixes to the navbar, footer, section padding, and various other elements to ensure proper rendering on smaller viewports. Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
|
Here's video of me scrolling through my phone to show the responsive updates in action. Exciting stuff! |
There was a problem hiding this comment.
Code Review
This pull request introduces a comprehensive set of changes to implement a responsive layout for mobile and tablet viewports. The changes are well-structured, follow a mobile-first approach, and demonstrate a strong understanding of modern CSS for responsive design. Key improvements include a reworked mobile navbar, a responsive footer, and progressive adjustments to spacing and typography across breakpoints to enhance usability on smaller screens. The code is clear and includes helpful comments explaining the rationale behind the fixes. I have one suggestion to improve the code by removing a deprecated, non-standard CSS property.
Note: Security Review is unavailable for this PR.
f778b80 to
e9def34
Compare
Apply mobile-first responsive fixes across all landing page sections: reduce section padding at small viewports, compact hero text/buttons, add horizontal scroll handling for code blocks and diagrams, center CTAs in single-column layouts, fix navbar for Docusaurus hamburger menu, and improve footer contrast/stacking on mobile. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Mike Morper <mike.morper@virtru.com>
- Fix hamburger menu: move R-05 overrides after desktop rules to win cascade, remove backdrop-filter on mobile (was trapping fixed sidebar), slide sidebar from right to match hamburger position - Hide GitHub button on mobile (accessible in sidebar), reorder navbar to logo-left / hamburger-right - Improve spacing hierarchy: tighten heading→body gap (1.5rem→0.75rem), increase section padding (3rem→4rem mobile, 4rem→5rem tablet), increase CTA separation (2rem→2.5rem), widen inner padding (1rem→1.25rem) - Footer: 2×2 grid on mobile, sponsor text matches link-item sizing - Fix code window inheriting text-align:center from mobile layout Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Mike Morper <mike.morper@virtru.com>
The mobile spacing reduction (heading margin 0.75rem) applied at all breakpoints, making desktop headings feel cramped. Restore comfortable margins (1.25rem, 1.5rem for Hero) at tablet/desktop breakpoints. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Mike Morper <mike.morper@virtru.com>
e9def34 to
85a035b
Compare
Co-authored-by: Dave Mihalcik <dmihalcik@virtru.com> Signed-off-by: Mary Dickson <mary.dickson@virtru.com>
85a035b to
3d957a0
Compare
Summary
Preview the changes
Issues closed
Closes #208
Closes #209
Closes #210
Closes #211
Closes #212
Closes #213
Closes #214
Closes #215
Closes #216
Closes #217
Closes #218
Closes #219
Closes #220
Test plan
npm run build)🤖 Generated with Claude Code