UX: Better handling of long category names and button bar in composer (PR #10542)

This better handles situations where long category names may overflow or cause the inputs to wrap. This prevents inputs from wrapping and improves truncation.

I also added some styles so that the d-button-bar scales better (and scrolls horizontally in extreme cases) on narrow desktop devices.