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