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

Fix: multiple image-urls in data-background-image #2940

Merged
merged 2 commits into from
Apr 28, 2021
Merged

Fix: multiple image-urls in data-background-image #2940

merged 2 commits into from
Apr 28, 2021

Conversation

cmeessen
Copy link
Contributor

Currently, when using the data-background-image attribute, the user can only specify one background image. This is, because if a url is given, the whole string given in data-background-image is wrapped into url().

This MR allows to use a comma-separated list, e.g.:

<section data-background-image="image1.png, image2.png"></section>

Would be happy to see this merged into dev.

@cmeessen
Copy link
Contributor Author

This bug also exists in v3.9. If this version is still maintained, I would also create a MR for this branch.

@hakimel hakimel merged commit a112712 into hakimel:dev Apr 28, 2021
@hakimel
Copy link
Owner

hakimel commented Apr 28, 2021

Looks good, thanks! There's no reason to patch the 3.9 branch.

hakimel added a commit that referenced this pull request Apr 28, 2021
Copy link

@sultan801 sultan801 left a comment

Choose a reason for hiding this comment

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

Hello

R0bes pushed a commit to R0bes/Terraform-Presentation that referenced this pull request Jun 7, 2021
…round

Fix: multiple image-urls in data-background-image
R0bes pushed a commit to R0bes/Terraform-Presentation that referenced this pull request Jun 7, 2021
srwohl pushed a commit to srwohl/phantom-pres that referenced this pull request Sep 2, 2024
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.

3 participants