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

Dont show sizes selection if using srcset #1934

Conversation

mickenorlen
Copy link
Contributor

@mickenorlen mickenorlen commented Sep 10, 2020

sizes can be used standalone or as part of srcset. If used for srcset standalone sizes selection has to be disabled as the data is incompatible

Otherwise picture properties are broken

image

Broken out from #1786

Checklist

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have added tests to cover this change

sizes can be used standalone or as part of srcset. If used for srcset standalone sizes selection has to be disabled as the data is incompatible
@mickenorlen mickenorlen changed the title dont-show-broken-sizes-selection-if-using-srcset Dont show sizes selection if using srcset Sep 10, 2020
Copy link
Member

@tvdeyen tvdeyen left a comment

Choose a reason for hiding this comment

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

Makes perfect sense. Thank you!

@tvdeyen tvdeyen merged commit 27a66a3 into AlchemyCMS:master Sep 30, 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.

2 participants