No, havenĀ“t got any reaction to the Github PR. Now, I sometimes also visit the Home Assistant Discord server and notice that Thomas is quite busy helping out on the lovelace frontend development, so I guess most of his time is focused on that and less on the custom cards.
Responsive grid layouts should become a standard feature at some point is what I gather from the developerās comments in this topic, but will take some time.
tried to follow the instructions (removed margins, deleted .gz file, cleared cache, reloaded) but no change. Scrollbars are still there Tested in few browsers/systemsā¦
Yes the scroll bars never went for me either by doing that.
The only way I found to get rid of them was to NOT use grid layout at all!
As I previously said I converted my grid layout views to nested vertical and horizontal layouts within card_mod as per Thomasās post number 89 in this thread.
weird, I donāt have them anymore, but I also removed the margins for #staging.grid, donāt know if you did that too. To make sure the adapted card is loaded, change the info-text thatās displayed in the browser console too, so you can quickly see if it the changed version got loaded.
Thanks Kris!
Removing margin for #staging.grid did the trick!
Iāll recheck later on my home mac/safari, but on my windows laptop scroll bars are gone!
Iām having a lot of issues with the margins (clipping on top, scrollbars due to margin left and right, etc). I saw that there are some PRs open to fix these. Do you have a time @thomasloven when can we expect to see these merged?
Iām currently trying to use the layout card to create a sidebar on my frontend. Iāve however run into a snag. There are margins between the cards that I would like to get rid of. Best explained with a screenshot where Iāve already identified the culprit thanks to the developer tools of my browser:
Unticking that CSS property does get rid of the margins (in orange in the screenshot), however Iāve not been able to figure out what code would need to go where in order to remove those margins.
Iāve also tried many different combinations combined with a mod-card in which I then configure the above layout-card, but no dice.
As far as my understanding of CSS goes, the correct properties should be inserted somewhere here and not within the included yaml files. Should I be wrong, Iāll gladly post their content as well.
I try to setup a grid layout with Ā« custom:button-card Ā» and Ā« custom:layout-card Ā». In other word, I would like to achieve a configuration like this HTML table layout (colspan / rowspan)
for the moment the best arrangement I was able to do is : a mix of āvertical-stackā and āhorizontal-stackāā¦ I finally donāt try to use any more ālayout-cardā because it was resizing blank button-card (color_type: blank), then i was losing proportion between button5 and button8 if button6/7 are blank!
I am using the layout-card, auto-entities, and button-card together and overall is working well. However, as you can see from the card definition below, my title for the ācardā is defined in the horizontal-stack. This is the only way Iāve been able to get a title to appear for the card. The problem is that the title still appears when the list of entities provided by auto-entities is empty. How can I get a title for this that only appears when I have entities?
all in all this seems ok, with 2 gripes: the space between the scrolling button with the alerts, and the 2 live buttons is too small, and the space at the bottom of the 2 live buttons to the next card is too large.
Thought I would have to use some of the justify_content options but I cant seem to influence the position. Would anyone of you know where to begin?
this even spacing between buttons is what I am after:
well fiddling with the margins hasnt got the same effect on all devices. As far as I have noticed especially the iOS app now goes beyond the expected card space when using the adapted margin-left. When using the daytime theme, I do notice some heavy shadowing I cant explain according to my own cards stylings. I fear that is what is causing the margins to be so complex/confusing to set.