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

[Bug]: Chips spacing weird in some cases #1459

Closed
3 tasks done
riesinger opened this issue Jul 5, 2024 · 0 comments · Fixed by #1458
Closed
3 tasks done

[Bug]: Chips spacing weird in some cases #1459

riesinger opened this issue Jul 5, 2024 · 0 comments · Fixed by #1458
Labels
bug Something isn't working

Comments

@riesinger
Copy link
Contributor

Requirements

  • I checked the troubleshooting section in the README to verify that I have the latest Mushroom version.
  • I did a search to see if there is a similar issue or if a pull request is open.
  • I have read the state of card mod support (in pin issues) and understand card mod support is not provided in this repository.

Current Behavior

In some situations, the chips in a chips card are weirdly aligned. This stems from the chips being separated with margins instead of the gap property. See the screenshot below:

image

Expected Behavior

I would've expected no margin on the right side of the first chip.

Steps To Reproduce

  1. Use the new grid dashboard layout
  2. Play around with different chips alignments, sizes and counts
  3. Observe margin issues.

Context

YAML state

Environment

- Browser: All evergreens (Edge, Chrome, Firefox, Safari)
- HA Version: 2024.7
- Mushroom: 3.6.2

Anything else?

No response

@riesinger riesinger added the bug Something isn't working label Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant