From b3979e7012e165a037259fb5ee09cf3c0216ef0c Mon Sep 17 00:00:00 2001 From: Pritesh Nandgaonkar Date: Thu, 20 Jun 2019 06:12:42 -0700 Subject: [PATCH] Fix the scroll of the crash headers in the plugin Summary: When the text is too long either for the crash name and the crash reason, user is not able to see scroll and see the text. Bug: {F162636692} Reviewed By: danielbuechele Differential Revision: D15907908 fbshipit-source-id: a9557074e310728d4cb4825ec18740ca0ea0c12f --- src/plugins/crash_reporter/index.js | 34 ++++++++++++++--------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/plugins/crash_reporter/index.js b/src/plugins/crash_reporter/index.js index a11e4ec1a..3f40d2c05 100644 --- a/src/plugins/crash_reporter/index.js +++ b/src/plugins/crash_reporter/index.js @@ -104,7 +104,7 @@ const Line = styled(View)({ }); const Container = styled(FlexColumn)({ - overflow: 'hidden', + overflow: 'scroll', flexShrink: 0, }); @@ -115,7 +115,9 @@ const Value = styled(Text)({ maxHeight: 200, flexGrow: 1, textOverflow: 'ellipsis', + marginLeft: 8, marginRight: 8, + overflow: 'hidden', }); const FlexGrowColumn = styled(FlexColumn)({ @@ -458,24 +460,22 @@ class HeaderRow extends Component { render() { const {title, value} = this.props; return ( - + - - - {title} - { - clipboard.writeText(value); - }, + + {title} + { + clipboard.writeText(value); }, - ]}> - {value} - - - + }, + ]}> + {value} + +