From 16763d1d4118292432678ef256226139c0be73c1 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Thu, 28 Sep 2023 10:33:14 -0700 Subject: [PATCH] Handle long feed listings on the right nav with scrolling (#1562) --- src/view/shell/desktop/Feeds.tsx | 5 +++-- src/view/shell/desktop/RightNav.tsx | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/view/shell/desktop/Feeds.tsx b/src/view/shell/desktop/Feeds.tsx index 4da1401c..3f206388 100644 --- a/src/view/shell/desktop/Feeds.tsx +++ b/src/view/shell/desktop/Feeds.tsx @@ -82,11 +82,12 @@ function FeedItem({ const styles = StyleSheet.create({ container: { - position: 'relative', + flex: 1, + overflowY: 'auto', width: 300, paddingHorizontal: 12, + paddingVertical: 18, borderTopWidth: 1, borderBottomWidth: 1, - paddingVertical: 18, }, }) diff --git a/src/view/shell/desktop/RightNav.tsx b/src/view/shell/desktop/RightNav.tsx index d7dd0e6a..84d7d785 100644 --- a/src/view/shell/desktop/RightNav.tsx +++ b/src/view/shell/desktop/RightNav.tsx @@ -125,6 +125,8 @@ const styles = StyleSheet.create({ // @ts-ignore web only left: 'calc(50vw + 320px)', width: 304, + // @ts-ignore web only + maxHeight: '90vh', }, message: {