diff --git a/packages/form-js-editor/assets/form-js-editor-base.css b/packages/form-js-editor/assets/form-js-editor-base.css index 6962e9cb2..8fb0c1586 100644 --- a/packages/form-js-editor/assets/form-js-editor-base.css +++ b/packages/form-js-editor/assets/form-js-editor-base.css @@ -634,7 +634,8 @@ width: 68px; } -.fjs-palette-field .fjs-palette-field-icon { +.fjs-palette-field .fjs-palette-field-icon, +.fjs-palette-field .fjs-field-icon-image { margin: 0 auto; } diff --git a/packages/form-js-editor/src/features/palette/components/Palette.js b/packages/form-js-editor/src/features/palette/components/Palette.js index be7eb5fd8..b48cf2808 100644 --- a/packages/form-js-editor/src/features/palette/components/Palette.js +++ b/packages/form-js-editor/src/features/palette/components/Palette.js @@ -231,7 +231,7 @@ export function getPaletteIcon(entry) { let Icon; if (iconUrl) { - Icon = () => {; + Icon = () => {; } else { Icon = icon || iconsByType(type); }