Grab a new UE5 project and start resizing the window to be narrower. Buttons get collapsed into >> before empty space on the toolbar starts to shrink. I cannot even resize the toolbar sections manually to work around this.
In fact it seems to have a fixed width (this is the entire width of the window on the second image):