korbit-ai[bot] commented on code in PR #34798:
URL: https://github.com/apache/superset/pull/34798#discussion_r2291485241
##########
superset-frontend/packages/superset-ui-core/src/components/Table/index.tsx:
##########
@@ -180,6 +180,10 @@ const StyledTable = styled(AntTable as
FC<AntTableProps>)<{ height?: number }>(
text-overflow: ellipsis;
}
+ td.ant-table-cell.no-ellipsis {
+ text-overflow: unset;
+ }
Review Comment:
### Incomplete overflow handling <sub></sub>
<details>
<summary>Tell me more</summary>
###### What is the issue?
The text-overflow: unset property will remove ellipsis, but it doesn't
guarantee the content will be fully visible if it overflows the cell.
###### Why this matters
Content might still be hidden due to 'overflow: hidden' on parent elements,
defeating the purpose of removing ellipsis to show full content.
###### Suggested change ∙ *Feature Preview*
Add overflow properties to ensure content is fully visible:
```css
td.ant-table-cell.no-ellipsis {
text-overflow: unset;
overflow: visible;
white-space: normal;
}
```
###### Provide feedback to improve future suggestions
[](https://app.korbit.ai/feedback/aa91ff46-6083-4491-9416-b83dd1994b51/f852677d-78dd-401a-8f39-89780a4e54dc/upvote)
[](https://app.korbit.ai/feedback/aa91ff46-6083-4491-9416-b83dd1994b51/f852677d-78dd-401a-8f39-89780a4e54dc?what_not_true=true)
[](https://app.korbit.ai/feedback/aa91ff46-6083-4491-9416-b83dd1994b51/f852677d-78dd-401a-8f39-89780a4e54dc?what_out_of_scope=true)
[](https://app.korbit.ai/feedback/aa91ff46-6083-4491-9416-b83dd1994b51/f852677d-78dd-401a-8f39-89780a4e54dc?what_not_in_standard=true)
[](https://app.korbit.ai/feedback/aa91ff46-6083-4491-9416-b83dd1994b51/f852677d-78dd-401a-8f39-89780a4e54dc)
</details>
<sub>
💬 Looking for more details? Reply to this comment to chat with Korbit.
</sub>
<!--- korbi internal id:916806de-e6b5-46d1-8438-606552f0f4d0 -->
[](916806de-e6b5-46d1-8438-606552f0f4d0)
--
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]