fix: Use SVG icon assets (#9569)

This commit is contained in:
Aaron Dodson
2026-01-20 08:15:01 -08:00
committed by GitHub
parent 01dc838ebb
commit 2678f5845f
4 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -461,7 +461,7 @@ input[type=number] {
}
.blocklyMenuItemSelected .blocklyMenuItemCheckbox {
background: url(<<<PATH>>>/sprites.png) no-repeat -48px -16px;
background: url(<<<PATH>>>/sprites.svg) no-repeat -48px -16px;
float: left;
margin-left: -24px;
position: static; /* Scroll with the menu. */
+1 -1
View File
@@ -11,5 +11,5 @@
export const SPRITE = {
width: 96,
height: 124,
url: 'sprites.png',
url: 'sprites.svg',
};
+1 -1
View File
@@ -692,7 +692,7 @@ Css.register(`
}
.blocklyToolboxCategoryIcon {
background-image: url(<<<PATH>>>/sprites.png);
background-image: url(<<<PATH>>>/sprites.svg);
height: 16px;
vertical-align: middle;
visibility: hidden;
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB