diff --git a/mailpoet/assets/css/src/components-automation-editor/_step.scss b/mailpoet/assets/css/src/components-automation-editor/_step.scss index 2c84a79bb1..1d5f641926 100644 --- a/mailpoet/assets/css/src/components-automation-editor/_step.scss +++ b/mailpoet/assets/css/src/components-automation-editor/_step.scss @@ -35,21 +35,8 @@ } .mailpoet-automation-colored-icon { + border-radius: 50%; box-sizing: content-box; padding: 12px; position: relative; - - .mailpoet-automation-colored-icon-background { - border-radius: 50%; - height: 100%; - left: 0; - position: absolute; - top: 0; - width: 100%; - } - - svg { - position: relative; - z-index: 1; - } } diff --git a/mailpoet/assets/js/src/automation/editor/components/icons/colored-icon.tsx b/mailpoet/assets/js/src/automation/editor/components/icons/colored-icon.tsx index b88b3183bd..0be0c60028 100644 --- a/mailpoet/assets/js/src/automation/editor/components/icons/colored-icon.tsx +++ b/mailpoet/assets/js/src/automation/editor/components/icons/colored-icon.tsx @@ -19,12 +19,9 @@ export function ColoredIcon({ style={{ width: iconProps.width, height: iconProps.height, + backgroundColor: background, }} > -