I am currently developing a Chrome extension to modify certain text fields, but I have run into an issue. Specifically, I need to hide the "Stato" field so I implemented the following CSS code:
https://i.stack.imgur.com/9blvz.png
https://i.stack.imgur.com/0zbao.png
Although this successfully hides the "Stato" field, it also unexpectedly hides the first field labeled "Consulenti." I am unsure why this is happening as they do not share the same data-test-item or other similar attributes.
https://i.stack.imgur.com/uXA0u.png
Do you have any insights into why this behavior is occurring?
Thank you in advance for your attention and assistance!
EDIT: Below is the code related to the "Consulenti" field. The purple highlighting indicates that there is an active function changing the text from "Agenti" to "Consulenti," but even with this function disabled, the text still disappears. Thus, I believe this does not impact the issue at hand.
https://i.stack.imgur.com/c6Ohi.png