about summary refs log tree commit diff
path: root/src/view/shell/desktop/LeftNav.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2024-01-22 15:04:41 -0800
committerPaul Frazee <pfrazee@gmail.com>2024-01-22 15:04:41 -0800
commitd25b17ab19e7373b4463be13b8611997b3f028dd (patch)
treea4dff6d920f5cb72d1bd9177c2503a8ee7485019 /src/view/shell/desktop/LeftNav.tsx
parentad018d8dbd9353af2a66a0b21a232ee3225bbcf8 (diff)
parentd51ad1fec94ef933eafe0e5f58fba810e349494b (diff)
downloadvoidsky-d25b17ab19e7373b4463be13b8611997b3f028dd.tar.zst
Merge branch 'main' of github.com:bluesky-social/social-app into main
Diffstat (limited to 'src/view/shell/desktop/LeftNav.tsx')
-rw-r--r--src/view/shell/desktop/LeftNav.tsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/view/shell/desktop/LeftNav.tsx b/src/view/shell/desktop/LeftNav.tsx
index c84e86b95..b27898828 100644
--- a/src/view/shell/desktop/LeftNav.tsx
+++ b/src/view/shell/desktop/LeftNav.tsx
@@ -442,10 +442,11 @@ export function DesktopLeftNav() {
 
 const styles = StyleSheet.create({
   leftNav: {
-    position: 'absolute',
+    // @ts-ignore web only
+    position: 'fixed',
     top: 10,
     // @ts-ignore web only
-    right: 'calc(50vw + 312px)',
+    left: 'calc(50vw - 300px - 220px - 20px)',
     width: 220,
     // @ts-ignore web only
     maxHeight: 'calc(100vh - 10px)',