After some more testing, it is clear, the issue is caused by MailPoet as another colored icon above MailPoet and above M.E. Calendar also changes in size when MailPoet is selected.
It does not seem to affect the colored icons below MailPoet.
Thank you for having a look at it.
Oh, boy. I hope I’m not the only one experiencing this with SVG-icons? I suppose I’ll have to create a bug report with WordPress themselves.
For who’s interested I created following ticket: https://core.trac.wordpress.org/ticket/52344
Hi @therealshadowhunter,
That’s MailPoet no-conflict system preventing other scripts and styles from breaking our admin pages.
We have two filters that can be used to whitelist scripts and styles, but you’ll need to find out the domain of your theme or plugin to allow them to work on MailPoet admin pages:
For styles:
add_filter(‘mailpoet_conflict_resolver_whitelist_style’, function ($whitelistedStyles) { $whitelistedStyles[] = ‘modern-events-calendar-lite’; // plugin name to whitelist return $whitelistedStyles; });
For scripts:
add_filter(‘mailpoet_conflict_resolver_whitelist_script’, function ($whitelistedScripts) { $whitelistedScripts[] = ‘modern-events-calendar-lite’; // plugin name to whitelist return $whitelistedScripts; });
You should replace modern-events-calendar-lite with the name of the other plugins that are conflicting.
Thanks!
-
This reply was modified 5 years, 2 months ago by
Bruna a11n.
Hello Bruna,
Thank you so much for replying and for shedding light on this issue.
The provided filters indeed did the trick and solved my issue 🙂
It was sufficient to whitelist “Modern Events Calendar” for styles only, script whitelisting was not necessary in this case.
Even though it was just cosmetic I’m super pleased it is fixed. I will cancel my WordPress bug report.
Again a HUGE thank you for your kind support.
With best regards,
ShadowHunter