I have some ui elements from a third party that I want to manipulate to set a different styling.
First I wrote a explicit css rule which obviously did not do anything.
Currently I am using this hack:
mounted() {
setTimeout(
function () {
document
.querySelector("#wrapper")
.shadowRoot.querySelector(".div-in-shadow-root")
.setAttribute("style", "box-shadow:none");
}.bind(this),
1000
);
}
This leads to some flickering in the UI that looks trashy.
Is there any better solution to do this?