Repository navigation
Conversation
camilleislasse
marked this pull request as draft
November 24, 2026 07:44
camilleislasse
marked this pull request as ready for review
November 24, 2026 07:44
Contributor
|
The CSS fix is right, but it has no effect yet, the Twig condition never evaluates to {% if hookable_configuration.sticky_header|default(true) %}
So Suggested fix in:
{% if hookable_metadata.configuration.sticky_header ?? true %}data-sticky-header{% endif %}Tested with your CSS: with |
Member
Author
|
Good catch, thanks! Fixed in both BootstrapAdminUi and ShadcnAdminUi templates with your suggestion, and the description is updated. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up of #413, from TheMilek's review comment.
sticky_header: falsehas no effect: the header always sticks.hookable_configuration, which is never defined (twig-hooks exposeshookable_metadata.configuration), and|default(true)turnsfalseintotrue, sodata-sticky-headeris always rendered;.page-headersticky anyway, so a header without the attribute would still stick, but withoutis-stickyit has no background and the form scrolls under the title and the buttons.Changes:
hookable_metadata.configuration.sticky_header ?? true;position: stickymoves to.page-header[data-sticky-header];.page-header, so the 24px gap from [BootstrapAdminUi] Port the sticky page header from Sylius #413 is kept;public/assets were rebuilt withyarn build.Same fix for the Sylius admin: Sylius/Sylius#19362.