shrink units switch if it exceeds maximum width, to handle i18n