yousoph opened a new pull request, #43373: URL: https://github.com/apache/superset/pull/43373
### SUMMARY Two layout problems in the "Select a visualization type" gallery: - Chart names longer than one line wrapped, changing tile height. Since the grid rows size to their tallest tile, a wrapped name pushed the thumbnails of neighbouring tiles in the same row upward, so thumbnails in a row no longer lined up. - The "Featured" badge was absolutely positioned against the whole tile at a hardcoded `top: sizeUnit * 19` offset (dating back to when the badge was introduced in #18662), so it drifted as tile height varied. Fix: clamp the chart-name label to a fixed two-line block with ellipsis overflow so every tile is the same height (full name preserved via a `title` tooltip), top-align the grid items, and anchor the Featured badge to a new `position: relative` wrapper around the thumbnail image so it sits consistently at the image's top-right. ### TESTING INSTRUCTIONS Create a new chart and open the viz type gallery. Confirm all thumbnails in a row line up regardless of chart-name length, and the Featured badge sits at the thumbnail's top-right on every featured type. Long names truncate with an ellipsis and reveal the full name on hover. A unit test asserts every label carries a `title` matching its full name. 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
