Skip to content

Add project settings to inline CSS variable output#591

Merged
iruzevic merged 1 commit intorelease/8.14.4from
fix/inline-variables-callback
Mar 9, 2026
Merged

Add project settings to inline CSS variable output#591
iruzevic merged 1 commit intorelease/8.14.4from
fix/inline-variables-callback

Conversation

@piqusy
Copy link
Contributor

@piqusy piqusy commented Mar 8, 2026

Description

Fix responsive CSS variables when media breakpoints filter is used.

outputCssVariablesInline() in forms.php was called without passing project settings, so the es_forms_blocks_media_breakpoints filter only affected CSS variable data creation (outputCssVariables) but not the final CSS output. This caused a breakpoint value mismatch — responsive @media queries were silently dropped, leaving fields stuck at their default width on all screen sizes.

@piqusy piqusy requested a review from iruzevic March 8, 2026 22:12
@piqusy piqusy self-assigned this Mar 8, 2026
@piqusy piqusy added the bugfix A report on a possible bug in the code label Mar 8, 2026
@piqusy piqusy changed the title fix(forms): add project settings to inline CSS variable output Add project settings to inline CSS variable output Mar 8, 2026
@iruzevic iruzevic merged commit 9b1b407 into release/8.14.4 Mar 9, 2026
3 checks passed
@iruzevic iruzevic deleted the fix/inline-variables-callback branch March 9, 2026 05:59
iruzevic added a commit that referenced this pull request Mar 9, 2026
* fix(forms): add project settings to inline CSS variable output (#591)

* Add min/max count support for select elements (#592)

* fix(select): Add min/max count support for select elements

* chore: bump version to 8.14.4 and update changelog

---------

Co-authored-by: Ivan Ramljak <22823970+piqusy@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix A report on a possible bug in the code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants