steps to reproduce: 1. open this fiddle https://jsfiddle.net/rhdq9ynu/5/ 2. use ctrl+mousewheel to zoom out to 30% 3. use ctrl+mousewheel to zoom back in to 100% 4. notice that the plot now overflows its parent and the home icon in the top is no longer visible. before <img width="830" height="503" alt="Image" src="https://github.com/user-attachments/assets/37c87865-18b9-4f54-b1b6-fe6d08f28dd7" /> after <img width="836" height="505" alt="Image" src="https://github.com/user-attachments/assets/7f42914b-7311-4d4f-a28c-dc3944cce43b" /> The key is this CSS: ```css #app { padding: 0px 100px; & > * { min-width: min-content; } } ``` If you remove either the padding or the min-width everything works fine. Both `min-content` and `fit-content` are buggy.