last styling for the medium device