How to remove shadow from popup, photobrowser?

how to add “no-shadow” class to popup, photobrowser etc. Is there a way of removing the shadow from dynamically generated popups, photobrowsers etc.

<div class="popup my-popup">...</div>

css:

.my-popup {
  --f7-popup-box-shadow: none;
}

Thanks. It works for browser but not Photo Browser Vue component.