Files
hyperframes/packages
Miguel Angel Simon Sierra 4da032281e fix(core): target exactly one of host or wrapper for root box styling
The previous fix rewrote a bare root [data-composition-id] box selector to
match both the host and the flattened wrapper. That double-applies any
additive property (padding, margin, a non-zero transform): the wrapper is
nested inside the host, so a rule like `padding-top: 200px` shifted content
down twice instead of once, visible as overlapping elements in compositions
that combine flex alignment with an offset (e.g. a captions overlay using
`align-items: flex-start; padding-top: 200px`).

Use :has()/:not() to target exactly one match: the wrapper when it exists
(the flattened case), or the host when it doesn't (the documented
non-flattened fallback for callers that omit flattenInnerRoot).
2026-07-01 22:35:57 -07:00
..
2026-07-01 14:57:39 -07:00
2026-07-01 14:57:39 -07:00
2026-07-01 14:57:39 -07:00
2026-07-01 14:57:39 -07:00
2026-07-01 14:57:39 -07:00
2026-07-01 14:57:39 -07:00
2026-07-01 14:57:39 -07:00
2026-07-01 14:57:39 -07:00
2026-06-16 13:16:09 -04:00
2026-07-01 14:57:39 -07:00
2026-07-01 14:57:39 -07:00
2026-07-01 14:57:39 -07:00