Skip to content

Conversation

@GeoffDusome
Copy link
Contributor

What does this do/fix?

This pull request focuses on improving the layout and consistency of caption elements in media blocks, as well as enhancing code clarity in the media block styles. The most significant update is the containment of captions in media blocks to the content width, ensuring a more polished and uniform appearance across different media types. Additionally, the codebase benefits from improved documentation and minor cleanups.

Media block caption improvements:

  • Caption elements in media blocks (Image, Video, Embed) are now visually contained to the content width, providing a consistent and aligned appearance for captions. [1] [2]

CSS code clarity and maintainability:

  • Added descriptive comments to clarify the purpose of CSS blocks in media/_mixins.pcss, improving readability and maintainability. [1] [2] [3]

Code cleanup:

  • Removed redundant .is-full-width styles from image/style.pcss to streamline the image block styling.

QA

Links to relevant issues

Screenshots/video:

Copy link
Collaborator

@dpellenwood dpellenwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍏 Love these little clean ups!

@GeoffDusome GeoffDusome added In QA Waiting on QA and removed Needs FE Review labels Jan 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

In QA Waiting on QA Launch Environment Deploys to dokku

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants