How to prevent Streamlit from running app on mobile phone

Hello. I have a Streamlit app that displays badly on a mobile phone screen as it contains a data-heavy Plotly plot. I was wondering if it is possible to detect the use of a mobile phone and display a message screen that advises the viewer to access the app from a computer with a full-sized screen instead of running the app?

Many thanks