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

Support design grid system #158

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

scinos
Copy link
Collaborator

@scinos scinos commented Nov 6, 2024

Pull Request Template for Home Assistant / Lovelace Card Repository

Overview

Implements a method to compute the number of rows and columns used by the card. This should make it compatible with the new grid system.

Depending on the sections enabled in the card (title, sunset, moon phase, etc), it will use a different number of rows. These are some examples (the colored rows in the first column act as a guide):

Screenshot 2024-11-06 at 09 51 55
Screenshot 2024-11-06 at 09 51 29
Screenshot 2024-11-06 at 09 51 04
Screenshot 2024-11-06 at 09 50 48

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Documentation update
  • Refactoring
  • Other (please describe):

Related Issues / Pull Requests

Fixes #145

Additional Details

I documented how to test the card in isolation and inside Home Assistant to README.md.
Thanks to @PhilippeP62 for doing 99% of the work in #145.

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

Successfully merging this pull request may close these issues.

Update card to comply with new "design grid system"
1 participant