Handle long feed listings on the right nav with scrolling (#1562)

zio/stable
Paul Frazee 2023-09-28 10:33:14 -07:00 committed by GitHub
parent cc1c9ab305
commit 16763d1d41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -82,11 +82,12 @@ function FeedItem({
const styles = StyleSheet.create({ const styles = StyleSheet.create({
container: { container: {
position: 'relative', flex: 1,
overflowY: 'auto',
width: 300, width: 300,
paddingHorizontal: 12, paddingHorizontal: 12,
paddingVertical: 18,
borderTopWidth: 1, borderTopWidth: 1,
borderBottomWidth: 1, borderBottomWidth: 1,
paddingVertical: 18,
}, },
}) })

View File

@ -125,6 +125,8 @@ const styles = StyleSheet.create({
// @ts-ignore web only // @ts-ignore web only
left: 'calc(50vw + 320px)', left: 'calc(50vw + 320px)',
width: 304, width: 304,
// @ts-ignore web only
maxHeight: '90vh',
}, },
message: { message: {