-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Compass size on small cards #44
Comments
The compass does not scale, this is by design. Currently I don't know how to scale it, so I need to figure that out in order to make that work. As this is a known 'limitation' I'm changing the label to enhancement. |
Please note that only the compass + indicators scale. The texts do not. |
I recommend temporarily using card-mod. Here's the base code:
ha-card is of course for the outer part of the card and div is the inner part (basically the actual compass). The aspect ratio value helps to conform the card to other cards, for example when using grid cards. The translate value moves either the card or the compass within the card, so that it can be centered. And lastly, the scale value is shown for the X and Y axis. Not sure how well this works across different browsers and platforms, but there are compatible workarounds available online. |
Checklist:
Release with the issue:
Last working release (if known):
Browser and Operating System:
Description of problem:
Comapss size is excceeding the borders when placed inside horizontal stack.
Javascript errors shown in the web inspector (if applicable):
Additional information:
The text was updated successfully, but these errors were encountered: