In the init method on the toolbox before inserting the result of this.flyout.createDom into the dom call dom.addClass with the created DOM element and blocklyToolboxFlyout.
This change should be made against the rc/v12.0.0 branch.
To work on this issue, comment below asking to be assigned.