Skip to content

Fix web components sample#5159

Open
nick-romano wants to merge 1 commit intomicrosoft:mainfrom
nick-romano:main
Open

Fix web components sample#5159
nick-romano wants to merge 1 commit intomicrosoft:mainfrom
nick-romano:main

Conversation

@nick-romano
Copy link
Copy Markdown

Fixes #5145

I'm not sure this a perfect sample, as it assumes the consumer imports the editor.main.css file,

It seems vs code will add the css within the each module, so some of the styles will get declared twice:
https://github.com/microsoft/vscode/blob/e78d8b50851b6cf3c427c2078b6238446f06beff/src/vs/base/browser/ui/actionbar/actionbar.ts#L15-L18

But I think a sample attempting to copy the css from that mechanism into the shadow DOM would be too complicated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WebComponent Playground Example Does Not Work

1 participant