refactor: adjust image height and add top spacing
What changed, and why it matters
This commit is a purely cosmetic UI tweak. It makes a hero image shorter (from about 228 pixels to 175 pixels) and adds 24 pixels of empty space above it on seed-related pages. There is no security relevance.
No security action needed. Treat as a normal UI refactor review.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The change modifies two Flutter widget files. seed_hero_image.dart reduces the height passed to CakeImageWidget from 228.57 to 175. seed_page_header.dart inserts a SizedBox(height: 24) at the top of a Column before the existing image widget. Both changes are layout/spacing only and do not touch data handling, cryptography, navigation, or user input.
Changed components
lib/new-ui/widgets/seed/seed_hero_image.dartlib/new-ui/widgets/seed/seed_page_header.dartInspect captured patch +2 / −1
diff --git a/lib/new-ui/widgets/seed/seed_hero_image.dart b/lib/new-ui/widgets/seed/seed_hero_image.dart
index 0dddeb55..5840543c 100644
--- a/lib/new-ui/widgets/seed/seed_hero_image.dart
+++ b/lib/new-ui/widgets/seed/seed_hero_image.dart
@@ -14,7 +14,7 @@ class SeedHeroImage extends StatelessWidget {
return CakeImageWidget(
imageUrl: "assets/new-ui/hero/${name}_$variant.svg",
width: 200,
- height: 228.57,
+ height: 175,
);
}
}
diff --git a/lib/new-ui/widgets/seed/seed_page_header.dart b/lib/new-ui/widgets/seed/seed_page_header.dart
index 55a61cf9..ba565451 100644
--- a/lib/new-ui/widgets/seed/seed_page_header.dart
+++ b/lib/new-ui/widgets/seed/seed_page_header.dart
@@ -20,6 +20,7 @@ class SeedPageHeader extends StatelessWidget {
Widget build(BuildContext context) => Column(
mainAxisSize: MainAxisSize.min,
children: [
+ const SizedBox(height: 24),
ExcludeSemantics(child: image),
SizedBox(height: imageSpacing),
Semantics(
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.