about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorHima <131072934+Hima-Zinn@users.noreply.github.com>2023-12-18 21:58:58 +0900
committerGitHub <noreply@github.com>2023-12-18 18:28:58 +0530
commitb942da162a24f1192bcbcf6755570d14f253d118 (patch)
treeb5ca89b36a43f3e65d584f5fcbabf4110031c39d /src
parent9f82441c371b4c2f082750da7703ad2f16c2cc42 (diff)
downloadvoidsky-b942da162a24f1192bcbcf6755570d14f253d118.tar.zst
Fix: Some display issues (#2219)
* Update LeftNav.tsx

* Update RightNav.tsx
Diffstat (limited to 'src')
-rw-r--r--src/view/shell/desktop/LeftNav.tsx3
-rw-r--r--src/view/shell/desktop/RightNav.tsx2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/view/shell/desktop/LeftNav.tsx b/src/view/shell/desktop/LeftNav.tsx
index 5d1c2a20f..df6cb6499 100644
--- a/src/view/shell/desktop/LeftNav.tsx
+++ b/src/view/shell/desktop/LeftNav.tsx
@@ -409,7 +409,7 @@ export function DesktopLeftNav() {
                 style={pal.text}
               />
             }
-            label="Profile"
+            label={_(msg`Profile`)}
           />
           <NavItem
             href="/settings"
@@ -515,7 +515,6 @@ const styles = StyleSheet.create({
     flexDirection: 'row',
     alignItems: 'center',
     justifyContent: 'center',
-    width: 140,
     borderRadius: 24,
     paddingTop: 10,
     paddingBottom: 12, // visually aligns the text vertically inside the button
diff --git a/src/view/shell/desktop/RightNav.tsx b/src/view/shell/desktop/RightNav.tsx
index c126935d2..8d9961a5f 100644
--- a/src/view/shell/desktop/RightNav.tsx
+++ b/src/view/shell/desktop/RightNav.tsx
@@ -52,7 +52,7 @@ export function DesktopRightNav() {
               </Text>
             </View>
           ) : undefined}
-          <View style={[s.flexRow]}>
+          <View style={[{flexWrap: 'wrap'}, s.flexRow]}>
             {hasSession && (
               <>
                 <TextLink