Skip to content

2024.3: Margins between cards became not controllable #66

@ildar170975

Description

@ildar170975

Checklist:

  • [ x ] I updated to the latest version available
  • [ x ] I cleared the cache of my browser

Release with the issue: 0.2.0

Last working release (if known):

Browser and Operating System: Chrome 122.0.6261.112 , Win10

Description of problem:

In 2024.3 was changed a code for stacks in HA.
Probably because of this in stack-in-card margin between cards became always set independently on a value of keep::margin.

Consider a code:

type: custom:stack-in-card
keep:
  margin: false
  background: true
cards:
  - &ref_card
    type: button
    entity: sun.sun
    card_mod:
      style: |
        ha-card {background: red;}
  - *ref_card

image

<!-

Explain what the issue is, and how things should look/behave. If possible provide a screenshot with a description.
-->

Javascript errors shown in the web inspector (if applicable):


Additional information:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions