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

Moon out of layout #142

Open
juneka7 opened this issue May 27, 2024 · 2 comments
Open

Moon out of layout #142

juneka7 opened this issue May 27, 2024 · 2 comments

Comments

@juneka7
Copy link

juneka7 commented May 27, 2024

First of all, I would like to thank you for creating this card. It‘s awesome!
My moon is a little out of layout. Did I miss a setting? If not, how do I get the layout bigger so that the whole moon is visible?
Thanks in advance.
IMG_3379

@mirakels
Copy link

I guess the moon svg needs a translate around it like the sun graph. Maybe this would be enough in HorizonCardGraph.ts

 <g transform="translate(0 ${this.sunPosition.offsetY}) " transform-origin="center">  
  .....
</g>

Or move the ${this.moon()} a few lines up, inside the sun translate. just below ${this.debugSun()}.
(but this may give wrong results for southernFlip)

@francis110
Copy link

I have the sun also out of the layout.
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