-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Floating images is broken in large screens #784
Comments
Dunno when it was changed, but I encountered this challenge as well with the original implementation of full-width images which tried to avoid putting max-width on the blocks themselves due to this behavior: |
I have an idea for how to fix this (float the div inside Given the difficulty full width presents for us in the editor, it suggests we probably do want to gate it behind |
To me it seemed like we'd want this regardless, since otherwise how can we expect the image to be shown correctly on the front-end if the theme doesn't specifically target support for it? |
This is fixed in master now! 🎉 |
Floating image blocks is broken because we the editor wrapper has no max-width to
700px
but all the non-floated blocks and non-wide blocks have a max-width of700px
to center these blocks. This causes the floated block to show "outside" the limit of the700px
.Note: Fixing this can have an impact of full-width images too. Make sure to test this to avoid regressions.
cc @jasmussen
The text was updated successfully, but these errors were encountered: