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

n-image cannot set rounded corners, and provides rounded corners api #409

Closed
hairyf opened this issue Jul 6, 2021 · 4 comments
Closed

Comments

@hairyf
Copy link

hairyf commented Jul 6, 2021

This function solves the problem (这个功能解决的问题)

n-image can set rounded corners

Expected API (期望的 API)

<n-image rounded width="32" src="https://07akioni.oss-cn-beijing.aliyuncs.com/07akioni.jpeg" />

@Fnzero
Copy link
Collaborator

Fnzero commented Jul 6, 2021

We will not do that, you can add the style to change it.

@Fnzero Fnzero closed this as completed Jul 6, 2021
@07akioni
Copy link
Collaborator

07akioni commented Jul 6, 2021

style="border-radius: 50%;"

@hairyf
Copy link
Author

hairyf commented Jul 7, 2021

No, I mean, the setting style cannot take effect, so I need you to have this attribute.

@hairyf
Copy link
Author

hairyf commented Jul 7, 2021

image
image

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

No branches or pull requests

3 participants