html.Img() sizes=

HI, I have an image in the dashboard, and it stays fit, si there any way for the image to change its size when making bigger or smaller the window in autofit way (as the flex in css)?

Hello topotaman

You can use dash-bootstrap-components and specify width for different screen sizes.

https://dash-bootstrap-components.opensource.faculty.ai/docs/components/layout/

Here you have and excelent video made by @adamschroeder

1 Like