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,
|
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',
|
||||||
|
|||||||
Reference in New Issue
Block a user