Can Bokeh detect screen size and adjust application layout?

I finished my bokeh app and display well on PC. However, the mobile screen is too small to display my plot with texts on the right side. Is there a way that bokeh can detect screen size and adjust my layout or text size? For example when mobile display I would want my text below my plot , so my plot can be bigger. Thank you.

Bokeh doesn’t have anything like it built-in. For responsive layouts, you can try embedding Bokeh plots in some responsive templates that should be easy to find online. For responsive plot sizes - you can try using sizing_mode='scale_both' everywhere (maybe with some other value - check the documentation at https://docs.bokeh.org/en/latest/docs/user_guide/layout.html#sizing-mode).