-
Notifications
You must be signed in to change notification settings - Fork 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
support cover for image element #2148
Conversation
Please add some example of usage to /examples/images.js. |
Thanks for your feedback. |
Thanks. |
Something seems to be not working properly with this cover feature, but I'm really not sure. I added an image with a squared size cover configuration inside a single cell table (and the table is actually inside a column). The table cell takes the aspect ratio of the original image, instead of the squared size, and the image overflows the cell. The container column doesn't adjust properly either (it expands as if it had The green border is a single cell table, and the image is the content of the cell: It's supposed to look like this: Does it make sense to be failing? If so, I can try to build a simple example because it's currently part of a very tricky document definition. Thanks @isamu BTW, you saved me a lot of time with this cover feature. |
@maganap
This issue is fixed with the following patch.
If your problem is different from this, please give me a sample code for playgroud. |
I created new PR #2669 |
Thank you for great library.
Based on #1906, I created PR.
It support cover option for image element.
It's a little different from this ticket, but it's used like this.
Unit tests have passed.
Please let us know if you have any other work for merge.
Thanks.