Manahil-Afzal opened a new pull request, #147: URL: https://github.com/apache/echarts-examples/pull/147
Issue: [21271](https://github.com/apache/echarts/issues/21271) Background: While reviewing the Sankey diagram alignment discussed in the issue, I explored how vertical centering affects the visual consistency between the example page and its thumbnail preview. Before sankey: Full size sankey [sankey-itemstyle (18).html](https://github.com/user-attachments/files/25213744/sankey-itemstyle.18.html)  centered sankey : centered full size sankey [sankey-itemstyle (19).html](https://github.com/user-attachments/files/25213780/sankey-itemstyle.19.html)  If the Sankey nodes are forced to be exactly centered in the page, it creates two problems: => The layout does not match the thumbnail image preview. => Visual consistency between the example gallery thumbnail and the opened chart view is lost. Because of this mismatch, strict page-level centering may not provide the best user experience. Thumbnail matches sankey:  This update keeps the Sankey alignment behavior that: => Matches the thumbnail preview more accurately => Maintains visual consistency across the examples gallery => Avoids unnecessary forced centering that could break expected layout appearance For the Sankey example context, this approach provides a more practical and visually aligned result than strict page centering. -- 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]
