Skip to content

fix(settings): remove double top-spacing on About section header (BLD-4579) - #930

Draft
alankyshum wants to merge 1 commit into
mainfrom
bld-4579-about-header-spacing
Draft

fix(settings): remove double top-spacing on About section header (BLD-4579)#930
alankyshum wants to merge 1 commit into
mainfrom
bld-4579-about-header-spacing

Conversation

@alankyshum

Copy link
Copy Markdown
Owner

Summary

Fixes the 'About' tile header in Settings having double the expected top-spacing gap compared to every other Settings section.

Root cause

already applies below its title. The first row inside the About tile — — also applied , adding an extra on top. This doubled the header-to-content gap to 2 × spacing.sm.

Fix

Changed versionRow from paddingVertical: spacing.sm to paddingBottom: spacing.sm, removing the top padding entirely. The SettingsTile title margin already provides the correct single-spacing.sm gap. Touch target height (minHeight: 48) is unchanged.

Files changed:

  • app/(tabs)/settings.tsx — style fix on versionRow
  • __tests__/acceptance/settings.test.tsx — regression test asserting paddingTop === 0, paddingBottom === spacing.sm, and minHeight >= 48
  • CHANGELOG.md — Unreleased entry

Verification

  • tsc --noEmit: zero errors
  • jest __tests__/acceptance/settings.test.tsx: 22/22 pass (including new BLD-4579 test)

Resolves BLD-4579

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants