Add optional icon to category menu

This commit is contained in:
Eric Rosenbaum 2017-12-19 14:23:45 -05:00
parent 0edc587b2d
commit f4aff45250
3 changed files with 20 additions and 5 deletions

View file

@ -1181,6 +1181,13 @@ Blockly.Css.CONTENT = [
'margin: 0 auto 0.125rem;',
'}',
'.scratchCategoryItemIcon {',
'width: 1.25rem;',
'height: 1.25rem;',
'margin: 0 auto 0.125rem;',
'background-size: 100%;',
'}',
'.scratchCategoryMenuItem:hover {',
'color: $colour_toolboxHover !important;',
'}',