EUI ":first-child" warning help

Hello, I've been receiving the following warning everytime I insert an tag within my plugin:
"The pseudo class ":first-child" is potentially unsafe when doing server-side rendering. Try changing it to ":first-of-type"."

I'm not using the ":first-child" class anywhere in my own code, and I believe it is coming from the implementation of EUIText.

I'm trying to get rid of this warning but I'm not sure the best way to do this. Any help would be greatly appreciated.

Hi @David10,

Welcome! Which version of Kibana are you building a plugin for?

Hi, @carly.richmond , I am using Kibana version 8.12.0. Thanks.

Hi @David10,

Thanks for confirming. I've had a quick scan of the Kibana and EUI repos and I only see closed issues from last year:

  1. Kibana Observability
  2. EUI

Are you using a particular version of EUI? If you've identified it in the latest EUIText you could either raise a bug report GitHub issue for it or, raise a PR with the change yourself if you've already fixed it.