Fix: Some display issues (#2219)

* Update LeftNav.tsx

* Update RightNav.tsx
zio/stable
Hima 2023-12-18 21:58:58 +09:00 committed by GitHub
parent 9f82441c37
commit b942da162a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -409,7 +409,7 @@ export function DesktopLeftNav() {
style={pal.text} style={pal.text}
/> />
} }
label="Profile" label={_(msg`Profile`)}
/> />
<NavItem <NavItem
href="/settings" href="/settings"
@ -515,7 +515,6 @@ const styles = StyleSheet.create({
flexDirection: 'row', flexDirection: 'row',
alignItems: 'center', alignItems: 'center',
justifyContent: 'center', justifyContent: 'center',
width: 140,
borderRadius: 24, borderRadius: 24,
paddingTop: 10, paddingTop: 10,
paddingBottom: 12, // visually aligns the text vertically inside the button paddingBottom: 12, // visually aligns the text vertically inside the button

View File

@ -52,7 +52,7 @@ export function DesktopRightNav() {
</Text> </Text>
</View> </View>
) : undefined} ) : undefined}
<View style={[s.flexRow]}> <View style={[{flexWrap: 'wrap'}, s.flexRow]}>
{hasSession && ( {hasSession && (
<> <>
<TextLink <TextLink