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

Path not working in rectangle layout #111

Open
lveillard opened this issue Dec 8, 2022 · 1 comment
Open

Path not working in rectangle layout #111

lveillard opened this issue Dec 8, 2022 · 1 comment

Comments

@lveillard
Copy link

lveillard commented Dec 8, 2022

image_178

Will do a PR if i ever find how this works 😂

The three problems I could identify:

  • if flat = false, it still does the path as if flat === true
  • does not adapt to the size
  • does not adapt to the position of the origin if this is moved

A dirty example of workaround (just working for my particular case)

svg path {
...
 transform: rotate(-30deg) scale(0.4);
 }
@cyremur
Copy link

cyremur commented Jul 14, 2023

I believe <Path /> needs to be a child of <Layout> cause it will get the grid config from its context.

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

2 participants