-
Notifications
You must be signed in to change notification settings - Fork 524
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(interactive-examples): add support for tabbed css examples #12665
Conversation
Bundle StatsHey there, this message comes from a github action that helps you and reviewers to understand how these changes affect the size of this project's bundle. As this PR is updated, I'll keep you updated on how the bundle size is impacted. Total
View detailed bundle breakdownAdded
Removed
Bigger No assets were bigger Smaller No assets were smaller Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. Looks good.
Summary
Fundamentally the component already supports tabbed css examples, but there were a handful of broken examples:
One because
@namespace
must appear at the top of a css file, but we were injecting default css before: we now conditionally do this in the cloud function in a separate<style>
tag.The rest because the shadow dom examples were looking for css in a
#css-output
id: we now add that in the cloud function.How did you test this change?
Locally, will do a visual diff