adjust the dynamic label font size based on the device type