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

Allow users to define the height/width in percentages for Pic and Annotate #2468

Open
LamJiuFong opened this issue Mar 17, 2024 · 0 comments
Labels
c.Feature 🚀 s.UnderDiscussion The team will evaluate this issue to decide whether it is worth adding

Comments

@LamJiuFong
Copy link
Contributor

Please confirm that you have searched existing issues in the repo

Yes, I have searched the existing issues

Any related issues?

No response

What is the area that this feature belongs to?

Author Usability

Is your feature request related to a problem? Please describe.

Current implementation of Pic and Annotate only allows users to define width and height in pixels.

Describe the solution you'd like

Use regex to check if user's input is in the format "xx%", if yes, build the html component with relative width/height

Describe alternatives you've considered

No response

Additional context

No response

@yucheng11122017 yucheng11122017 added the s.UnderDiscussion The team will evaluate this issue to decide whether it is worth adding label Mar 17, 2024
@kaixin-hc kaixin-hc changed the title Allow users to defines the height/width in percent for Pic and Annotate Allow users to define the height/width in percentages for Pic and Annotate Mar 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c.Feature 🚀 s.UnderDiscussion The team will evaluate this issue to decide whether it is worth adding
Projects
None yet
Development

No branches or pull requests

2 participants