Skip to content

Preflight not for the whole site #16755

Closed Answered by ValeryVerkhoturov
ValeryVerkhoturov asked this question in Help
Discussion options

You must be logged in to vote

I assigned the ID #widgetInside to the root element in shadow DOM, installed the Tailwind CSS Scoped Preflight plugin, and included it in the Tailwind plugins configuration.

scopedPreflightStyles({
      isolationStrategy: isolateInsideOfContainer(["#widgetInside"])
}),

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ValeryVerkhoturov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants