Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
Added profile view mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
Octopus773 committed Jan 16, 2024
1 parent dcca780 commit 992681e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions front/views/ProfileView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const ProfileView = () => {
const isBigScreen = layout.width > 650;

return (
<Flex flex={1}>
<Flex flex={1} padding={8}>
<View
style={{
display: 'flex',
Expand Down Expand Up @@ -68,9 +68,10 @@ const ProfileView = () => {
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'space-between',
gap: 5,
}}
>
<Text fontSize={'xl'} style={{ paddingRight: 'auto' }}>
<Text fontSize={'xl'} isTruncated numberOfLines={2} flexShrink={1}>
{userQuery.data.name}
</Text>
<ButtonBase
Expand Down

0 comments on commit 992681e

Please sign in to comment.