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

feat: improved unit support #108

Open
2 tasks
batonac opened this issue Mar 12, 2024 · 0 comments
Open
2 tasks

feat: improved unit support #108

batonac opened this issue Mar 12, 2024 · 0 comments

Comments

@batonac
Copy link

batonac commented Mar 12, 2024

Here are two major improvements that could be made to units support, as it occurs to me:

  • Allow for setting a global default unit in the settings, between:
  • cm
  • em
  • in
  • in
  • mm
  • pc
  • pt
  • px
  • rem
  • Respect any manually-set units when using mouse-dragging to reset sizing in the visual editor. In other words, if the width, height, margin, or padding are set to something other than pixels, resizing any of these attributes in the canvas should retain and accordingly resize the attributes while respecting the unit override, instead of reverting to the default unit (which is pixels at present).
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

1 participant