You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: simplify footer CSS for embed compatibility, add content guards
- Replace child combinator selectors (> div > div:nth-child) with
.section:nth-child in footer CSS so styles work regardless of DOM
nesting depth (normal loadFragment vs aem-embed buildBlock)
- Add textContent guard to footer.js to skip loadFragment when
aem-embed has already provided content
- Add textContent guard to header.js with fallback nav setup
- Remove nav wrapper from aem-embed handleFooter (copy-paste from
handleHeader)
- Refactor embed tester to use Preact AemEmbed component with smart
URL resolution (localhost vs live)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments