manojshetty2004 opened a new pull request, #37036:
URL: https://github.com/apache/superset/pull/37036

   ### SUMMARY
   Preserves line breaks when displaying multiline cell content (such as stack 
traces) in the Cell Content modal.
   
   Previously, newline characters in cell values were collapsed, causing 
multiline text to render as a single line. This change wraps the modal trigger 
content in a styled component with `white-space: pre-wrap`, ensuring line 
breaks are rendered correctly while keeping the fix scoped to this specific use 
case.
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   N/A
   
   ### TESTING INSTRUCTIONS
   1. Open a table or results view in Explore.
   2. Click on a cell containing multiline text (e.g. a stack trace with 
newlines).
   3. Verify that line breaks are preserved in the Cell Content modal.
   4. Confirm that other modals remain unaffected.
   
   ### ADDITIONAL INFORMATION
   - [x] Has associated issue: #36904
   - [ ] Required feature flags
   - [x] Changes UI
   - [ ] Includes DB Migration
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to