diff --git a/packages/js/email-editor/src/components/personalization-tags/index.scss b/packages/js/email-editor/src/components/personalization-tags/index.scss index 0edd0ff0e8..5f141294df 100644 --- a/packages/js/email-editor/src/components/personalization-tags/index.scss +++ b/packages/js/email-editor/src/components/personalization-tags/index.scss @@ -78,11 +78,20 @@ justify-content: center; .mailpoet-personalization-tag-popover__content { - padding: 8px; - width: 400px; + max-width: 350px; + min-width: auto; + width: 90vw; + + .components-base-control { + margin: 16px; + } } - .mailpoet-personalization-tag-popover__content-button { - padding-top: 10px; - text-align: center; + .mailpoet-personalization-tag-popover__content-buttons { + margin: 16px; + text-align: right; + + .components-button { + margin-left: 8px; + } } } diff --git a/packages/js/email-editor/src/components/personalization-tags/personalization-tags-popover.tsx b/packages/js/email-editor/src/components/personalization-tags/personalization-tags-popover.tsx index 8bff597284..77475c263f 100644 --- a/packages/js/email-editor/src/components/personalization-tags/personalization-tags-popover.tsx +++ b/packages/js/email-editor/src/components/personalization-tags/personalization-tags-popover.tsx @@ -74,8 +74,17 @@ const PersonalizationTagsPopover = ( { value={ updatedValue } onChange={ ( value ) => setUpdatedValue( value ) } __nextHasNoMarginBottom // To avoid warning about deprecation in console + __next40pxDefaultSize /> -