I have a chart in the center of the page and the chart will resize according to the browser window size. When I expand the browser window, the chart will expand to fit the browser size. In this case, the chart grows downward gradually (with animation). How can I remove this animation effect when resizing the chart?
In case it’s related to my style. Here are my markup and style for reference:
flex: 1 1 auto;
width: calc(100% – 335px);
max-height: calc(100vh – 108px);
margin: 10px 0;
- Kelly Chan asked 1 year ago
- last active 10 months ago