-
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
[RNMobile] Rounded image #24544
[RNMobile] Rounded image #24544
Conversation
Size Change: +4 B (0%) Total Size: 1.17 MB
ℹ️ View Unchanged
|
5ec90fd
to
3eb16d0
Compare
3eb16d0
to
16753b5
Compare
@iamthomasbishop Please look at the updated screenshots:
|
@lukewalczak This looks great, spacing overall looks solid. I have only 2 tiny requests.
...and here's (roughly) what a row composition would look like when the first item is selected (left) and un-selected (right): These are obviously super minor details and I'd honestly be fine with shipping this as-is, but while we're here we might as well get the nitpicky details right 😄 |
packages/block-editor/src/components/block-styles/preview.native.js
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @lukewalczak 👋
This is looking good! I left some minor comments. While testing on Android I found an overflow issue with the selected state border:
Please notice that with this approach we'll have jumping photo issue, because the photo has to scale up to |
This issue is now solved 🎉 Thanks @lukewalczak! Just left a minor comment. |
@lukewalczak I don't think we want the size of the image to change, it should stay the same size. I think what we want is for the border (or combination of borders -- the 1px blue one and 2px white one, 3px total) to be inset, over the top of the image. @geriux is your comment above referring to a fix for that? |
Nope, it was related to the border getting cut off on Android =) |
@lukewalczak tested the latest build for iOS (from here) and it's looking good to me! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for the changes, tested both iOS and Android (Dark mode included) and it's working as expected. Nice work Luke!
6167036
to
74bfc07
Compare
Fixes: #24489
Description
Added an option to set
Rounded
image.How has this been tested?
5. Expect to see new options such as
Default
andRounded
Rounded
7. Expect that image is rounded
9. Expect to see rounded photo
Screenshots
Types of changes
Checklist: