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.
When using the WKND XFs in Target on a WKND page, the HTML imported into Target contains:
WKND's css library uses
body .root {
to set spacing at the top of the WKND site with elements.scss:When a WKND XF is added to a WKND page using the VEC with an imported XF from AEM, the css above is applied to the XF and therefore the component padding-top is set to $header-height.
This can be fixed by fixing the template-type and template for the WKND experience fragment template.
Description
Under ui.content.sample and ui.content the
root
nodes are updated toxf-root
:This allows the WKND XFs to be imported into Target without the root class and therefor, the padding is not applied:
Motivation and Context
This allows anyone to use WKND as a reference website for the AEM XF and Adobe Target integration flawlessly.
Someone can now use the pre-created XF content in WKND and apply it successfully and beautifully to the WKND site using Adobe Target without the components 'jumping around' on the page.
How Has This Been Tested?
All tested locally on 2023.06 SDK
Checklist: