Replies: 2 comments
-
Would there be a way to override that wrapper and allow the user to provide their own? |
Beta Was this translation helpful? Give feedback.
0 replies
-
The issue I was having with this pre-defined wrapper is that I can't apply styling to it. const sidebarUI = createIntegratedUi(ctx, {
position: "inline",
tag: "custom-tag",
onMount: (container) => {
const customTagWrapper = document.getElementsByTagName("custom-tag");
customTagWrapper[0].classList.add("your-styling-container");
// .... Render element
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am rendering a content script component using react
But it gets wrapper into automatically created div data-wxt-integrated which messes with the container styling. Is there a way to disable this behaviour?
Beta Was this translation helpful? Give feedback.
All reactions