-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Duotone effect also applied to the Image block border color #52142
Comments
Not sure if this is strictly a bug because the CSS Thinking out loud... The usual workaround for this in is to apply the border to a wrapping element, like a Applying the border to the existing |
It's not doing it on the Cover block though. I'd expect the same result for both. 😅 |
Agreed. It looks like the big difference between the two is that the border on the Cover is applied to the wrapper, but the border on the Image is applied to the The best course of action might be to introduce a wrapping |
I am also not sure if this is a bug or a feature. I kind of like it but I can see why it would not be wanted at all times. One more inconsistency: When the block has a duotone filter and a border, and you select the "crop" image editing tool from the block toolbar, the border no longer has the duotone applied. |
In my opinion, duotone should apply to the image, not the other effects added to the image. Having the border visually be a different color than what's selected in the control is not an ideal experience. |
I expected that the duotone filter would be applied to the image, not the image's border.
To reproduce:
Visual
I've added an image with a white border applied:
CleanShot.2023-06-29.at.14.55.33.mp4
And here's the Cover block performing as expected:
CleanShot.2023-06-29.at.14.59.07.mp4
The text was updated successfully, but these errors were encountered: