about summary refs log tree commit diff
path: root/src/view/shell/desktop/RightNav.tsx
diff options
context:
space:
mode:
authorBartosz Kaszubowski <gosimek@gmail.com>2025-08-26 21:43:25 +0200
committerGitHub <noreply@github.com>2025-08-26 14:43:25 -0500
commit0555d3623cf5eea744bd26b4343c60ec66e43aa3 (patch)
treeeb6b9b9db1ba685ead41ca70f39405aa790000eb /src/view/shell/desktop/RightNav.tsx
parent8dcf1825ec3fa3a98ae8d9974434489b9b66a69b (diff)
downloadvoidsky-0555d3623cf5eea744bd26b4343c60ec66e43aa3.tar.zst
Fix RightNav elements focus outline on web (#8788)
Diffstat (limited to 'src/view/shell/desktop/RightNav.tsx')
-rw-r--r--src/view/shell/desktop/RightNav.tsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/view/shell/desktop/RightNav.tsx b/src/view/shell/desktop/RightNav.tsx
index 26795e0fd..1e000340a 100644
--- a/src/view/shell/desktop/RightNav.tsx
+++ b/src/view/shell/desktop/RightNav.tsx
@@ -65,6 +65,7 @@ export function DesktopRightNav({routeName}: {routeName: string}) {
       style={[
         gutters,
         a.gap_lg,
+        a.pr_2xs,
         web({
           position: 'fixed',
           left: '50%',
@@ -74,7 +75,10 @@ export function DesktopRightNav({routeName}: {routeName: string}) {
             },
             ...a.scrollbar_offset.transform,
           ],
-          width: width + gutters.paddingLeft,
+          /**
+           * Compensate for the right padding above (2px) to retain intended width.
+           */
+          width: width + gutters.paddingLeft + 2,
           maxHeight: '100%',
           overflowY: 'auto',
         }),