From 2655d9b0ef0d921e930267bb9e880a672b037828 Mon Sep 17 00:00:00 2001 From: Pritesh Nandgaonkar Date: Thu, 4 Apr 2019 08:10:56 -0700 Subject: [PATCH] Fix the reason getting truncated Summary: The reason was getting truncated, even though it had space to show the message. Look at the screenshot BUG: {F155254538} Reviewed By: jknoxville Differential Revision: D14775792 fbshipit-source-id: d18a458150c272c0c4e22cda9ea6459f96a70ea3 --- src/plugins/crash_reporter/index.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/plugins/crash_reporter/index.js b/src/plugins/crash_reporter/index.js index 6d00ee7b0..75126f5fb 100644 --- a/src/plugins/crash_reporter/index.js +++ b/src/plugins/crash_reporter/index.js @@ -108,10 +108,14 @@ const Container = styled(FlexColumn)({ flexShrink: 0, }); -const Value = styled(Title)({ - maxHeight: 200, +const Value = styled(Text)({ + fontWeight: 'bold', + color: colors.greyTint3, height: 'auto', + maxHeight: 200, flexGrow: 1, + textOverflow: 'ellipsis', + marginRight: 8, }); const FlexGrowColumn = styled(FlexColumn)({