jayeshchoudhary commented on code in PR #15511:
URL: https://github.com/apache/pinot/pull/15511#discussion_r2036877710


##########
pinot-controller/src/main/resources/app/components/Homepage/Operations/RebalanceServer/RebalanceServerResponses/RebalanceServerResponseLabelValue.tsx:
##########
@@ -25,7 +25,7 @@ export const RebalanceServerResponseLabelValue = (
     return (
         <Box>
             <Typography color='textSecondary' 
variant='caption'>{label}</Typography>
-            <Typography style={{ fontWeight: 600 }} 
variant='body2'>{value}</Typography>
+            <Typography style={{ fontWeight: 600 }} 
variant='body2'>{value.split("\n").join("<br />")}</Typography>

Review Comment:
   no this only handles \n, what about other whitespaces chars like \t, enter 
etc...
   ref - https://www.w3schools.com/cssref/pr_text_white-space.php



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to