Right clicking on a toolbar will give you two options: "Icon and Text", and "Icon Only".
"Icon Only" is the default and looks fine.
However, selecting "Icon and Text" looks like this:

The entire toolbar gets messed up

Happens on MacBook Pro M3 Max 16-inch (3456 × 2234).
Side note, I don't think "Icon Only" is correct given that Fork still displays both icon and text.