ampproject / ampproject/ampstart

Components page: apply parent page style to component labels (currently lose style inside iframes)

Open
#282 2 comments 0 reactions 1 assignee Claimed by @camelburrito View on GitHub
P2: Soon Page: Components Type: Feature Request
Dominant language
HTML
Stars
415
Forks
147
PR merge metrics
No merged PRs in 30d

Description

Current issues:
• Loading time is long for examples (see loading dots on first load)
• Component labels don't inherit styles of page

Possible solutions:
Pull component labels outside of iframe
Pull entire example outside of iframe, and encapsulate/namespace CSS some other way (shadow dom?)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.