fix(ui): scan page cleanup and restore layout spacing#3643
Merged
gorkem-bwl merged 1 commit intodevelopfrom Apr 1, 2026
Merged
fix(ui): scan page cleanup and restore layout spacing#3643gorkem-bwl merged 1 commit intodevelopfrom
gorkem-bwl merged 1 commit intodevelopfrom
Conversation
## Changes - Remove card border/background around scan form on AI Detection scan page - Add 16px padding above Repository URL block - Narrow the repository URL input (max-width 480px) - Show stat cards regardless of scan count (always visible) - Restore 16px gap between children in PageHeaderExtended - Add 16px bottom margin after summary cards (only when cards exist) ## Context The outer Stack in PageHeaderExtended had gap=0 to prevent alerts from affecting layout, but this also removed spacing between page children. Wrapped children in a Stack with gap=16px and added conditional bottom margin on the summary cards section.
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
Test plan
/ai-detection/scan— no card around form, narrower input, stats visible with 0 scans/ai-incident-managements— spacing between cards, filter row, and table is 16px/vendorsand/policies— no extra spacing between description and tab bar/risk-management— summary cards have 16px gap before filter row