fix: small profile followup fixes (#8735)
* fix: small profile followup fixes * fix: change platform-specific compensation for profileHeaderDisplayName marginBottom to target all native * fix: apply suggestion for consistent cross-platform profile username margin
This commit is contained in:
committed by
GitHub
parent
bc78fb224e
commit
332dbc1bb4
@@ -251,7 +251,7 @@ let ProfileHeaderStandard = ({
|
|||||||
<ProfileMenu profile={profile} />
|
<ProfileMenu profile={profile} />
|
||||||
</View>
|
</View>
|
||||||
<View
|
<View
|
||||||
style={[a.flex_col, a.gap_sm, a.pb_sm, live ? a.pt_sm : a.pt_2xs]}>
|
style={[a.flex_col, a.gap_xs, a.pb_sm, live ? a.pt_sm : a.pt_2xs]}>
|
||||||
<View style={[a.flex_row, a.align_center, a.gap_xs, a.flex_1]}>
|
<View style={[a.flex_row, a.align_center, a.gap_xs, a.flex_1]}>
|
||||||
<Text
|
<Text
|
||||||
emoji
|
emoji
|
||||||
@@ -261,6 +261,7 @@ let ProfileHeaderStandard = ({
|
|||||||
gtMobile ? a.text_4xl : a.text_3xl,
|
gtMobile ? a.text_4xl : a.text_3xl,
|
||||||
a.self_start,
|
a.self_start,
|
||||||
a.font_heavy,
|
a.font_heavy,
|
||||||
|
a.leading_tight,
|
||||||
]}>
|
]}>
|
||||||
{sanitizeDisplayName(
|
{sanitizeDisplayName(
|
||||||
profile.displayName || sanitizeHandle(profile.handle),
|
profile.displayName || sanitizeHandle(profile.handle),
|
||||||
|
|||||||
@@ -281,7 +281,7 @@ const styles = StyleSheet.create({
|
|||||||
aviPosition: {
|
aviPosition: {
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
top: 104,
|
top: 104,
|
||||||
left: 16,
|
left: 10,
|
||||||
},
|
},
|
||||||
avi: {
|
avi: {
|
||||||
width: 94,
|
width: 94,
|
||||||
|
|||||||
Reference in New Issue
Block a user