diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-09-28 10:33:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-28 10:33:14 -0700 |
commit | 16763d1d4118292432678ef256226139c0be73c1 (patch) | |
tree | 428ce24b7ec5a5adaeeb20378a3a635fa32f448a /src | |
parent | cc1c9ab3054a4fe1a2bb46bee1486189b5b75fc7 (diff) | |
download | voidsky-16763d1d4118292432678ef256226139c0be73c1.tar.zst |
Handle long feed listings on the right nav with scrolling (#1562)
Diffstat (limited to 'src')
-rw-r--r-- | src/view/shell/desktop/Feeds.tsx | 5 | ||||
-rw-r--r-- | 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 4da1401c3..3f2063887 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 d7dd0e6ad..84d7d7854 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: { |