-
Notifications
You must be signed in to change notification settings - Fork 130
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
Interference in custom:stack-in-card #184
Comments
Same is with |
Using stack-in-card and not vertical-stack-in-card solved my problem. Sometimes the easier solution is the correct one... |
@gfandrea
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My Home Assistant version:
2022.2.4
Layout-card version (FROM BROWSER CONSOLE):
2.3.1
What I am doing:
Using a custom:stack-in-card on the view with "horizontal-layout".
What I expected to happen:
The card is displayed properly.
What happened instead:
The card is NOT displayed properly.
Minimal steps to reproduce:
Refresh the page; it should be looking like this:

Check the style:

Uncomment the commented line in the code - make the view to be "horizontal-layout".
Refresh the page; it looks like this:

Check the style:

In the 1st case (with default layout) the margin between internal cards was 0.
In the 2nd case (with "horizontal-layout") it is 4px.
I do not know what could be a reason of it - stack-in-card or layout-card.
The only thing I know that this happened since 2022.2.
I am ready to address the same issue to the developer of
stack-in-card
.Error messages from the browser console:
None
By putting an X in the boxes ([X]) below, I indicate that I:
The text was updated successfully, but these errors were encountered: