Mobile layouts

Is there a way to make mobile friendly layouts, such that below a certain width elements wrap on to the next row (instead of overflowing the container with scrollbars)? I know individual plots can be made sizing_mode='stretch_both' but I’m looking for a flexbox-type effect for the top-level container.

Basically, I have a dashboard that needs to be usable on a variety of screen sizes (mobile/tablet/desktop) & would prefer to only make it once

2 Likes

You might create a custom Template. An alternative would be for panel to include something like a responsive grid. Or just a way of watching the Windows size such that you could create a layout based on that.

Please add a feature request. I know better templates are on the roadmap for v. 1.0.

Thanks.

1 Like

Hi @petefein

It would be great if you could post a request on Github https://github.com/holoviz/panel/issues

Thanks.