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
Card Dynamically Keeps Growing and Growing in Size #50
Comments
Drilling down into the Insepctor, I see this for the card:
Width just keeps growing, by itself |
I find that specifying The challenge and why I'm using card_mod:
style: |
ha-card {
width: 400px;
heigth: 400px;
} |
Same here... Used Cardmod for now, but it messes uptime alignment of the rose in the border of the card. |
I'm trying to find the time to rewrite the render code to use vector graphics. |
I'm using this card within the
custom:layout-card
to create a weather page using a grid layout like this:When I include the windrose card the view starts dynamically growing. The windrose card expands compressing the fields to the right as if ignoring the
fr
s.I've tried both with and without the
max_width
parameter and replacing the windy iframe with a markdown card. (Windy grows as well, but not until the windrose is included.) This all worked fine until I included the windrose. Note, the black areas in the screenshot are other graphs that don't render after including the windrose.Of course, this may not be an issue with this card, but it happens when adding the card to an existing layout.
This is immediately after a View Refresh:
Then, a few seconds after the View Refresh:
Windrose grows only to the right (with the max_width set) which drags the iframe down and right proportionally.
This is the happy and stable view without including the windrose card into the lower left corner.
Here is the complete windrose card definition.
The text was updated successfully, but these errors were encountered: