diff options
author | Bartosz Kaszubowski <gosimek@gmail.com> | 2025-08-26 21:43:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-26 14:43:25 -0500 |
commit | 0555d3623cf5eea744bd26b4343c60ec66e43aa3 (patch) | |
tree | eb6b9b9db1ba685ead41ca70f39405aa790000eb /src/view/shell/desktop/RightNav.tsx | |
parent | 8dcf1825ec3fa3a98ae8d9974434489b9b66a69b (diff) | |
download | voidsky-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.tsx | 6 |
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', }), |