-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
2024.3: Margins between cards became not controllable #66
Comments
Replace your existing stack-in-card files in /www/community/stack-in-card/ folder and have fun. :) stack-in-card_for_hass_2024.3.zip The fix is overriding a Enjoy! |
Hi, |
@ishu1976 try to change |
@stickpin Thank you!!!! Perfectly solved!!! |
@stickpin |
@ildar170975 unfortunately, it seems like the repo is no longer maintained. |
@stickpin I checked a code in your repo. I am not an expert in frontend api so could judge these changes in a wrong way. |
@ildar170975 let's put it this way... it works for me and I am happy with the result. |
You answered to someone else's question, not mine. No problem ). |
To remove the gap you can use the variable that appeared with the update:
Or you can add this variable to the theme you are using globally |
It is definitely may be fixed by card-mod. The thing is to fix it on the card's level to avoid transition.
Then all your standard stacks will become gapless as well. |
Maybe use |
Does not help. |
It works, perfect, thx :) |
ok, an other change in the frontend promted the fix to work, now it's good |
If you have card-mod installed, then you can add a global, scoped variable change to your theme to resolve this gap.
This should remove the gap for all stack-in-cards without impacting regular vertical stacks. |
Thank for the fix, a lot of my templates were broken and now it works like before ! 😊 |
Checklist:
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 ofkeep
::margin
.Consider a code:
<!-
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:
The text was updated successfully, but these errors were encountered: