You are right. This was only to help him understand the DOM navigation.
And with the refresh you are right as well, but this is happeing only in some cases of loading order, etc. MY way is to go as detailed as possible and go only more general, if there are problems as described by you.
Although your question was to Arganto, I will answer:
A ālevels codeā could be more clear for ābeginnersā. Most of my examples from ā1st post ā link at the bottomā are like this ānot optimizedā.
But there is also some info from Thomas in his repo & my hints as well (āother stuffā section) exactly about navigation & optimization. Letās say this is for āadvanced usersā.
Hi There, can anyone please assist with why the spacing has changed since the Dec HA update? I have everything updated including card_mod via HACS. Before and after plus code
I paused working on my dashboard for nearly 3 months now. After I installed missing updates for HA and the frontend modules I noticed that the styling for āhui-elementā-cards are not working anymore.
Did something change besides starting with ācard_mod:ā and then adding the styles?
Thanks for the advice. I fixed that, just some copy paste issue.
As it seems are the style elements now different. I never noticed the ā.elementā and āelement.styleā.
I am wrapping elements into a picture elements card to freely move my cards around. So I need the hui-element to make them work and the left, right, top commands to move them around.
But I have no clue how to find out where to put the values now. Any quick tip?
If you really want to be helped - then consider helping people to help you.
In this particular case suggest to post the FINAL code w/o any already fixed errors with which (i.e. code) you have some issues.
hui-cover-position-card-feature is because it is a cover.
you probably have to replace that part with something related to light
I see on you screenshot hui-light-brightness-card-feature
Iāve gone through the last few weeks of posts and noticed that quite a few people have noticed that there have been elements that have stopped working since the most recent updates. Like many others, Iāve updated to card-mod 3.4.0 & 3.4.1 (along with HA 2024.1)
I have previously had a bunch of glance cards inside a vertical stack in card that were too high for my tablet due to the excessive spacing, so to combat this I have used card-mod to reduce the spacing/margins using the following code:
However, the problem now, is that when HA automatically updates the cards, it changes the spacing and removes those reduced margins and I end up with this instead after a few seconds:
I hope the explanation makes sense and someone can see something obvious I am missing or have done incorrectly.
Likewise, I am happy for feedback if there is an easier/better way to achieve the same result. Thanks