Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes background image caption #491

Merged

Conversation

eduludi
Copy link
Contributor

@eduludi eduludi commented Aug 5, 2020

Looks like MediaBlock's caption works only when the image is displayed as an img tag, but now when is a set as background image (a media block's .c-block__image-wrap with .o-background-image and .u-background--cover)

Issue:

Issue

With this PR fix:

Fix

It also adds a "Media Block's Background Image" variant to display how background image is used in MediaBlocks (and also including a caption)

@designerbrent designerbrent self-requested a review August 5, 2020 12:30
@designerbrent designerbrent merged commit 8c584d0 into adventistchurch:v3.x Aug 5, 2020
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.

None yet

2 participants