v0.3.12
What's Changed
Fixed
- Standalone back-bar (
#sg-standalone-bar) was permanently visible —
including inside iframes where its purpose is meaningless. The element
was authored as<div hidden style="...display:flex;...">and the reveal
script flipped thehiddenboolean attribute on top-level window detection.
But the inlinedisplay:flexalready overrode the user-agent
[hidden] { display: none }rule (UA stylesheets have lower CSS specificity
than inline styles), so the bar showed everywhere — visually breaking the
iframe preview of every component / page / foundations render. Switched to
inlinedisplay:nonebaseline (wins the cascade unambiguously) and the
reveal script now flipselement.style.display = 'flex'directly. No
public API change; reveal conditions unchanged (window.self === window.top- no
?canvas=1). Reported by a downstream WordPress consumer. (#23)
- no
Pull Requests
- #23 — fix(render-cell): standalone bar visible inside iframes despite [hidden] attribute
Full Changelog: v0.3.11...v0.3.12