ui: fix mobile responsiveness and viewport scaling#488
Open
prince-shakyaa wants to merge 1 commit intoGenAI-Security-Project:mainfrom
Open
ui: fix mobile responsiveness and viewport scaling#488prince-shakyaa wants to merge 1 commit intoGenAI-Security-Project:mainfrom
prince-shakyaa wants to merge 1 commit intoGenAI-Security-Project:mainfrom
Conversation
Author
|
Hi @saikishu . Fixed the mobile viewport 'initial zoom' bug by containing decorative glows and optimized heading typography/navbar spacing for improved responsiveness on smaller screens. |
32e1e11 to
a6bd026
Compare
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.
Pull Request: [UI/UX] Improve Mobile Responsiveness and Fix Initial Viewport Scaling
Summary
This PR addresses several critical UI/UX issues on the landing page, specifically targeting mobile viewports (390px and below). It fixes a persistent "Initial Zoom" bug and optimizes typography and layout for better accessibility.
Changes
overflow-hiddento the Hero and About sections. This prevents wide decorative glows (800px radial gradients) from extending beyond the viewport, which previously caused browsers to incorrectly scale the page on load.text-4xlon the smallest screens (down fromtext-5xl).text-2xlon mobile.whitespace-nowrapto key phrases to prevent awkward line breaks on mobile.space-x-3) to improve touch-target accessibility.box-decoration-break: cloneto thegradient-textclasses to ensure gradients render continuously across multiple lines of wrapped text.docker-compose.ymlwith a volume mapping for thefinbotdirectory to enable live-reloading during development.Bug Fixes
Demonstration
Screen.Recording.2026-05-06.at.16.14.59.mov
Contribution Rules Check
fix/mobile-responsivenessfixes #487