blockly-fluid 1.4.5 → 1.4.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,21 +7,22 @@ module.exports = (Blockly) => (
7
7
  showEditor_() {
8
8
  super.showEditor_();
9
9
 
10
- const menu = Blockly.DropDownDiv.getContentDiv();
10
+ const menu = Blockly.DropDownDiv.getContentDiv().querySelector(".blocklyDropdownMenu");
11
11
 
12
12
  const search = document.createElement("input");
13
13
 
14
14
  Object.assign(search.style, {
15
- width: "calc(100% - 14px)",
15
+ width: "calc(100% - 10px)",
16
16
  height: "25px",
17
17
  margin: "6.25px 5px",
18
18
  border: "none",
19
19
  outline: "none",
20
20
  borderRadius: "5px",
21
- boxSizing: "border-box"
21
+ boxSizing: "border-box",
22
+ fontFamily: `"Helvetica Neue", "Segoe UI", Helvetica, sans-serif`
22
23
  });
23
24
 
24
- menu.querySelector(".blocklyDropdownMenu").prepend(search);
25
+ menu.prepend(search);
25
26
 
26
27
  const items = Array.from(menu.querySelectorAll(".blocklyMenuItem"));
27
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blockly-fluid",
3
- "version": "1.4.5",
3
+ "version": "1.4.7",
4
4
  "description": "A flexible proxy wrapper for Blockly blocks.",
5
5
  "main": "index.js",
6
6
  "scripts": {