SNoof85 / lovelace-tempometer-gauge-card-deprecated

Home Assistant Lovelace custom card with Barometer, Thermomer themes and customs themes as well !
102 stars 32 forks source link

Display on mobile distorted. #27

Closed TheDukeSr closed 3 years ago

TheDukeSr commented 3 years ago

I realy don't know if it's this card, or the Horizontal Stack card is faulty here. But I use that horizontal stack card on many other cards and none of them have these problems.

Version : 1.2.1

Using Home Assistant App on Samsung Galaxy S10

Problem: The card bottom is cut of (check the "g" in gang). The left and right of the card is also partly cutoff.

Mobile screenshot. (don't know how to get the link working when clicked here.. copy paste does work!) https://photos.app.goo.gl/ZDse2H2WLZM56Ccr7

On Laptop browser everything looks correct.

Card code used: `type: horizontal-stack cards:

SNoof85 commented 3 years ago

Can you try to add horizontal: true in the cards configuration.

In general, the card doen't render well in horizontal stacks.

TheDukeSr commented 3 years ago

Can you try to add horizontal: true in the cards configuration.

Thnx. This fixed the right side cutoff. Still some cutoff below, but it's not to bad.

Hope you can fix the cut below in the future to, but for now this ticked can be closed.

SNoof85 commented 3 years ago

you can also try to remove horizontal: true and try scale: 35px but changing the scale to lower than 40px is probably not so good at render.