Restrict Chat on Mobile Devices

Restrict Chat on Mobile Devices

Hi,

The majority of our users will be using the chat from within our website.

When accessing our site from a smartphone, I noticed the chat button takes up too much space.

Is there a way to hide the Chat With Us icon and not allow chats on devices with a small screen such as mobile phones? 

Tablets would be ok.