Skip to content

Commit 0a1524f

Browse files
authored
feat: added blocklyToolboxFlyout CSS class to the flyout (#8386)
1 parent e1753ae commit 0a1524f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

core/toolbox/toolbox.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,9 @@ export class Toolbox
143143
this.flyout_ = this.createFlyout_();
144144

145145
this.HtmlDiv = this.createDom_(this.workspace_);
146-
dom.insertAfter(this.flyout_.createDom('svg'), svg);
146+
const flyoutDom = this.flyout_.createDom('svg');
147+
dom.addClass(flyoutDom, 'blocklyToolboxFlyout');
148+
dom.insertAfter(flyoutDom, svg);
147149
this.setVisible(true);
148150
this.flyout_.init(workspace);
149151

0 commit comments

Comments
 (0)