How to set rings in case of two different devices (desktop and mobile)?