fix css definition for devices