Put margin and fixed profile username display
This commit is contained in:
@@ -34,7 +34,12 @@ const ProfileView = () => {
|
|||||||
const isBigScreen = layout.width > 650;
|
const isBigScreen = layout.width > 650;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Flex flex={1}>
|
<Flex
|
||||||
|
flex={1}
|
||||||
|
style={{
|
||||||
|
padding: 8,
|
||||||
|
}}
|
||||||
|
>
|
||||||
<View
|
<View
|
||||||
style={{
|
style={{
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
@@ -68,9 +73,15 @@ const ProfileView = () => {
|
|||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
justifyContent: 'space-between',
|
justifyContent: 'space-between',
|
||||||
|
gap: 5,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Text fontSize={'xl'} style={{ paddingRight: 'auto' }}>
|
<Text
|
||||||
|
fontSize={'xl'}
|
||||||
|
isTruncated
|
||||||
|
numberOfLines={2}
|
||||||
|
style={{ flexShrink: 1 }}
|
||||||
|
>
|
||||||
{userQuery.data.name}
|
{userQuery.data.name}
|
||||||
</Text>
|
</Text>
|
||||||
<ButtonBase
|
<ButtonBase
|
||||||
|
|||||||
Reference in New Issue
Block a user