Skip to content

Commit

Permalink
fix workspace search plugin CSS in Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
riknoll committed Sep 5, 2024
1 parent 5254f45 commit 3f35e37
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pxtblocks/workspaceSearch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,10 @@ export class PxtWorkspaceSearch extends WorkspaceSearch {
super.close();
Blockly.utils.dom.removeClass(this.injectionDiv, 'blockly-ws-searching');
}
}
}

Blockly.Css.register(`
.blockly-ws-search button {
padding-left: 6px;
padding-right: 6px;
}`);

0 comments on commit 3f35e37

Please sign in to comment.