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.
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user