Skip to content

v2.4.2 — Fix oversized casino-card icons on the live front end

Choose a tag to compare

@mexiter mexiter released this 16 Sep 16:58
· 6 commits to main since this release
68d74da

Fixed

  • Casino-card icons (ribbon star, rating star, feature checks, and others) could render oversized on the live front end. These SVGs ship with only a viewBox, no width/height, and the containment rule for them only ever shipped in the block-editor stylesheet, which never loads on a published page. A page-level reset that expands bare <svg> to 100% width (Tailwind Preflight and similar resets both do this) could stretch them to fill their container.

Found live during the same QA pass as 2.4.1: the ribbon star rendered full-viewport-height on a real front-end page. Ports the same rule already proven correct in assets/editor.css to the front-end stylesheet.