mckinsey / vizro

Vizro is a toolkit for creating modular data visualization applications.
https://vizro.readthedocs.io/en/stable/
Apache License 2.0
2.49k stars 112 forks source link

Improve layouts for small devices #302

Closed huong-li-nguyen closed 5 months ago

huong-li-nguyen commented 5 months ago

Description

Note: This is only meant as a quick fix and should by no means be our fully fledged mobile solution. For this we need to refactor our CSS code and components to be fully mobile compatible, which might be simplified if we switch to Bootstrap.

Screenshot

After: This is how it looks like using the dev-tools now e.g. for an Iphone:

Screenshot 2024-02-08 at 12 05 24

Before: Screenshot 2024-02-08 at 12 06 27

Notice

huong-li-nguyen commented 5 months ago

Yay! 🥳 Yes, I also feel this was one of my most productive learning time investments 😄

I fully agree with you. It's also on my list to implement the hamburger menu if we go for the Bootstrap approach 👍

I was hoping you would say that 🤣 I will delete the yaml example with pleasure, haha. I do not want to keep it updated, mainly because we will revamp the demo dashboard again soon and archive this example.