From d879eea7d10af96c65b98535c4d6d38cc7b4c9fa Mon Sep 17 00:00:00 2001 From: lan Date: Wed, 6 May 2026 00:02:02 +0800 Subject: [PATCH] refactor(profile): adjust spacing for tab bar and post wrapper Reset `tabBarContainer` margin to 0 and apply `spacing.md` as `marginTop` to the `postWrapper` to correct layout positioning in the profile view. --- src/screens/profile/useUserProfile.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/screens/profile/useUserProfile.ts b/src/screens/profile/useUserProfile.ts index a3c7a7b..8f431e7 100644 --- a/src/screens/profile/useUserProfile.ts +++ b/src/screens/profile/useUserProfile.ts @@ -461,7 +461,7 @@ export function createSharedProfileStyles(colors: AppColors) { flexGrow: 1, }, tabBarContainer: { - marginTop: spacing.md, + marginTop: 0, marginBottom: 0, }, contentContainer: { @@ -474,7 +474,8 @@ export function createSharedProfileStyles(colors: AppColors) { paddingTop: spacing.sm, }, postWrapper: { - marginBottom: spacing.md, + marginTop: spacing.md, + marginBottom: 0, backgroundColor: colors.background.paper, borderRadius: 16, overflow: 'hidden',