Skip to content

[MWPW-205910] Single featured-product tile spans full grid width - #304

Closed
rea16068 wants to merge 1 commit into
adobecom:devfrom
rea16068:MWPW-205910-single-tile-width
Closed

[MWPW-205910] Single featured-product tile spans full grid width#304
rea16068 wants to merge 1 commit into
adobecom:devfrom
rea16068:MWPW-205910-single-tile-width

Conversation

@rea16068

Copy link
Copy Markdown
Collaborator

A single CSS rule so a lone featured-product tile spans the full grid width instead of sitting in one half of the 2-column grid.

Change

.featured-products-list > *:only-child { grid-column: 1 / -1; }

Targets the direct grid child (<li class="featured-product">), matching the grid's repeat(2, 1fr) column structure.

Resolves: MWPW-205910

Test plan

  • CSS lint: clean (npx stylelint 'event-libs/v1/c2/blocks/event-*/**/*.css')
  • No unit test possible — WTR doesn't load block CSS, so computed grid-column isn't observable in tests.
  • Visual verification needed — requesting reviewer confirm the single-tile layout, since I can't preview from a fork branch.

@rea16068

Copy link
Copy Markdown
Collaborator Author

Closing in favor of #305 — opened from a direct branch on adobecom/event-libs now that I have write access, which also allows proper visual preview via the eventlibs param, Milestone, and Labels.

@rea16068 rea16068 closed this Aug 28, 2026
@rea16068
rea16068 deleted the MWPW-205910-single-tile-width branch August 31, 2026 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants