fix: word overflow for large number in flamegraph (#4122)

Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
This commit is contained in:
Sanjib Kumar Sah 2023-12-26 15:41:01 +05:30 committed by GitHub
parent f2521b4c49
commit bff39daef0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -158,7 +158,7 @@ function Trace(props: TraceProps): JSX.Element {
isDarkMode={isDarkMode}
onClick={onClickTreeExpansion}
>
<Typography>{totalSpans}</Typography>
<Typography style={{ wordBreak: 'normal' }}>{totalSpans}</Typography>
<CaretContainer>{icon}</CaretContainer>
</CardComponent>
)}