From 4151ee09e136a29b70f29e3328fdf39bf3d9e814 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Tue, 3 Nov 2026 19:05:53 +0200 Subject: [PATCH] Hide the native left nav scroll bar and stop it clipping items on short screens (#12313) --- src/view/shell/desktop/LeftNav.tsx | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/src/view/shell/desktop/LeftNav.tsx b/src/view/shell/desktop/LeftNav.tsx index 3012f5b70..91ec555fd 100644 --- a/src/view/shell/desktop/LeftNav.tsx +++ b/src/view/shell/desktop/LeftNav.tsx @@ -45,6 +45,7 @@ import {UserAvatar} from '#/view/com/util/UserAvatar' import {NavSignupCard} from '#/view/shell/NavSignupCard' import { atoms as a, + native, tokens, useBreakpoints, useLayoutBreakpoints, @@ -838,9 +839,9 @@ export function DesktopLeftNav({ style={[ a.fixed, a.top_0, - a.p_lg, + web(a.p_lg), styles.leftNav, - IS_NATIVE && {top: insets.top, bottom: insets.bottom}, + native(a.bottom_0), !hasSession && !leftNavMinimal && {width: LEFT_NAV_PWI_WIDTH}, leftNavMinimal && [ {width: LEFT_NAV_MINIMAL_WIDTH}, @@ -867,7 +868,18 @@ export function DesktopLeftNav({ }, ]}> {IS_NATIVE ? ( - {content} + + {content} + ) : ( content )} -- knotmirror 0.0.1