the tile size is default 90px and the amount of tiles on a row for mobile is set to 3.
If it looks different on other screens than the screen is just smaller so it looks to be a better fit.
What you can do is edit the --tile-width-mobile and --tile-height-mobile in the css to a bigger value than 90 so it fits better on your screen.
Thanks for quick reply, at least it explains the perfect fit on other screens I guess.
About what you suggested: I actually tried doing so, and increased the tile size by 1px both ways and it immediately went to the next row, so cant manipulate the sizes much.
Are there any other options except dealing with it? As probably there is no invisible padding on the sides by default? Or if there is maybe that can be pushed to the maximum.
EDIT:
Tested on my gfs iPhone 11 Pro and there it looks much better at 90px
the 358px is the default width it already has so if you increase the mobile tile width with 10px you need to add 3 * 10px to the 358 so it will be 388px. if you increase it with 1 px it needs to be 361px
Thanks for the heads up, I am still experimenting with visual appearance, that is why I dont have a dedicated CSS yet, but how do I implement this in my existing code without breaking anything?
@DBuit Thank you for this awesome panel card! I’m not sure if you’ve seen the issue I’ve opened on Github but it seems that your card isn’t working on a Google Nest hub with Home Assistant Cast. I’ve looked around a bit and found this in the FAQ here :
If you’re a custom card developer: the most common mistake is that LitElement is extracted from an element that is not available on the page.
As I’m not familiar with JavaScript it’s difficult for me to find the real problem… Would you mind taking a look or give me some pointers?
Thank you in advance!
In this video it jumps from showing a week and look good and ok. But the. A sek after it jumps to showing inte 3 days. Is there a way to handel it to stay in the look it has when the page is just refreshed?
The weather card show 3 instead of 5 days when the width of the card is below 245px.
So i cant really do anything but the only way it to increase the --tile-width-mobile so there is atleast 245px.
I tested it and if you set mobile width to 98px it works.
Thx man. Yeh that keeps the days there. half the text still dissapers but it looks better. It does the same on the video i showed before so you get what i mean.
Is there anyway to keep it there? Played abitt witht he high and with but seems to not change anything.
In any case its better and if nothing can be done than im ok.
The popup card stopped working a while ago and i just cant get it to work again.
Been pulling my hair for a while now so writing here in hopes some of you can find my mistake.
Browser_mod is installed and set up in configuration.yaml with browser_mod: and nothing else.
I have all my resources for lovelace listed in configuration file also.
Homekit panel card, card mod and light popup card are installed through HACS and resources added.
Below is my config