Fix a bug in #user and #user-compact display with small screens.