Update the style for small layouts.