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

"grid-template-columns: 50% auto" may not work properly for history-graph #310

Open
4 tasks done
ildar170975 opened this issue Jan 15, 2025 · 2 comments
Open
4 tasks done

Comments

@ildar170975
Copy link

ildar170975 commented Jan 15, 2025

My Home Assistant version: 2025.1

Layout-card version (FROM BROWSER CONSOLE): 2.4.5

What I am doing:
Trying to apply grid-template-columns: 50% auto layout.

Works OK in Editor:
image

But causes overflow in a view:
image

Observed in Chrome 131.0.6778.265 (Win10), FF 133.0.3 (Win10). iOS Companion App (iOS 15.x).

Have to use grid-template-columns: 50% 50% layout:
image

Interestingly this glitch does not occur with Entities card:
image

Minimal steps to reproduce:

type: custom:layout-card
layout_type: custom:grid-layout
layout:
  grid-template-columns: 50% auto
cards:
  - type: history-graph
    entities:
      - sun.sun
  - type: history-graph
    entities:
      - sun.sun

Error messages from the browser console:


By putting an X in the boxes ([X]) below, I indicate that I:

  • Understand that this is a channel for reporting bugs, not a support forum (https://community.home-assistant.io/).
  • Have made sure I am using the latest version of the plugin.
  • Have followed the troubleshooting steps of the "Common Problems" section of https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins.
  • Understand that leaving one or more boxes unticked or failure to follow the template above may increase the time required to handle my bug-report, or cause it to be closed without further action.
@ildar170975
Copy link
Author

ildar170975 commented Jan 15, 2025

Same glitch with Markdown card:
image

Does not happen with Glance:
image

@ildar170975
Copy link
Author

Created an issue in HA frontend just in case...
home-assistant/frontend#23744

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