I3eka opened a new pull request, #45722: URL: https://github.com/apache/superset/pull/45722
## SUMMARY Native AI messages inherit `overflow-wrap: anywhere`, while Markdown table headers force `white-space: nowrap`. In a narrow panel, long headers can squeeze another column down to individual letters. Let headers wrap and use `overflow-wrap: break-word` on the table, preserving the existing horizontal scroll container. > **ON HOLD — Draft pending SIP-224.** Depends on https://github.com/apache/superset/pull/42805. Please do not merge until https://github.com/apache/superset/issues/42806 is accepted and the parent Native AI implementation is ready. The branch includes the shared Native AI compatibility base updated to Apache master. Focused fix: `d462701efa`. ## BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF Chromium layout fixture using the component's table styles, a 347 px message panel and a three-column comparison: | Measurement | Before | After | | --- | ---: | ---: | | First-column width | 27.66 px | 88.84 px | | Table width | 888.22 px | 347 px | | Table height | 460 px | 204 px | This is a synthetic layout fixture, not a deployed application screenshot. It asserts that the first column can fit its longest word and that horizontal scrolling remains available. ## TESTING INSTRUCTIONS - `chatMarkdown.test.tsx`: 12 passed. - Chromium before/after layout assertions passed. - Branch-file pre-commit checks passed, including frontend type checking. - To reproduce manually, render a Markdown table with long comparison headers and multiword row labels in a narrow assistant panel. ## ADDITIONAL INFORMATION Existing `AI_ASSISTANT` flag. No new dependency, configuration or schema change in this focused fix. No deployment was performed. Other browsers were not checked. The shared compatibility base contains the parent migration-head merge. -- 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]
