refactor(profile): adjust spacing for tab bar and post wrapper
Some checks failed
Frontend CI / build-android-apk (push) Failing after 16s
Frontend CI / ota-android (push) Successful in 2m3s
Frontend CI / ota-ios (push) Successful in 1m11s
Frontend CI / build-and-push-web (push) Successful in 2m52s

Reset `tabBarContainer` margin to 0 and apply `spacing.md` as `marginTop` to the `postWrapper` to correct layout positioning in the profile view.
This commit is contained in:
2026-05-06 00:02:02 +08:00
parent e18cac2dca
commit d879eea7d1

View File

@@ -461,7 +461,7 @@ export function createSharedProfileStyles(colors: AppColors) {
flexGrow: 1, flexGrow: 1,
}, },
tabBarContainer: { tabBarContainer: {
marginTop: spacing.md, marginTop: 0,
marginBottom: 0, marginBottom: 0,
}, },
contentContainer: { contentContainer: {
@@ -474,7 +474,8 @@ export function createSharedProfileStyles(colors: AppColors) {
paddingTop: spacing.sm, paddingTop: spacing.sm,
}, },
postWrapper: { postWrapper: {
marginBottom: spacing.md, marginTop: spacing.md,
marginBottom: 0,
backgroundColor: colors.background.paper, backgroundColor: colors.background.paper,
borderRadius: 16, borderRadius: 16,
overflow: 'hidden', overflow: 'hidden',