Skip to content

Conversation

@wesleyboar
Copy link
Member

@wesleyboar wesleyboar commented Jan 9, 2026

Overview

Offset news media —

  • main image (atop content)
  • secondary images, et cetera (in content)

— via Core-Styles mixin offset-content.

Related

Changes

  • changed raw style to mixin for content media offset
  • added offset mixins that themselves use Core-Styles offset mixin
  • changed raw style to mixin for main media offset

Testing

  1. Have:
    • news article with image
    • thumbnail option of full-width i.e. Width: 0
    • thumbnail option of set width i.e. Width: 300
  2. Set main image to thumbnail option full-width.
    • On wide screen, image is as wide as content.
    • On narrow screen, image is as wide as content.
  3. Set main image to thumbnail option set width.
    • On wide screen, image is offset to the right.
    • On narrow screen, image is floated to the right.

UI

full-width.image.mov
max-width.image.mov

@wesleyboar wesleyboar marked this pull request as ready for review January 9, 2026 18:36
@wesleyboar wesleyboar merged commit 3b6a2d8 into stable Jan 9, 2026
@wesleyboar wesleyboar deleted the feat/news-media-as-offset-content branch January 9, 2026 18:38
wesleyboar added a commit that referenced this pull request Jan 9, 2026
## Overview / Related

Fix bad syntax. Missing commit for #1059.
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