Remove "getInlineAnchor" zIndex style
Is it possible to remove the style
z-index: 2147483647;
from the plasmo-shadow-container div? Currently, my content is stick to the page, I don't want it to have z-index style.
Thanks in advance.1 Reply
in content:
const YourFunction = ({ anchor }) => {
anchor.element.parentElement.querySelector('plasmo-csui').shadowRoot.querySelector('#plasmo-shadow-container').style.zIndex = "20"
or
anchor.element.querySelector('plasmo-csui').shadowRoot.querySelector('#plasmo-shadow-container').style.zIndex = "20"
find yours in anchor.element