GeorgeSG / lovelace-time-picker-card

🕰️ Time Picker Card for Home Assistant's Lovelace UI
MIT License
209 stars 14 forks source link

White border surrounding card when used in grid #18

Closed ukmgranger closed 3 years ago

ukmgranger commented 3 years ago

Checklist:

The problem

There is a white border around the edge of the card when using it in a grid.

Environment

Running on Proxmox:

System Health

version core-2021.3.4
installation_type Home Assistant OS
dev false
hassio true
docker true
virtualenv false
python_version 3.8.7
os_name Linux
os_version 5.4.99
arch x86_64
timezone Europe/London
Home Assistant Community Store GitHub API | ok -- | -- Github API Calls Remaining | 4796 Installed Version | 1.11.3 Stage | running Available Repositories | 776 Installed Repositories | 29
Home Assistant Cloud logged_in | true -- | -- subscription_expiration | 28 April 2021, 1:00 relayer_connected | true remote_enabled | true remote_connected | true alexa_enabled | true google_enabled | true can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 5.12 -- | -- update_channel | stable supervisor_version | supervisor-2021.03.6 docker_version | 19.03.13 disk_total | 62.3 GB disk_used | 12.7 GB healthy | true supported | true board | ova supervisor_api | ok version_api | ok installed_addons | Samba share (9.3.1), deCONZ (6.8.0), Terminal & SSH (9.1.0), Node-RED (8.2.0), File editor (5.2.0), Hass.io Google Drive Backup (0.52), Almond (1.1.2), AirCast (3.0.0)
Lovelace dashboards | 4 -- | -- resources | 18 views | 17 mode | storage
Spotify api_endpoint_reachable | ok -- | --

Problem-relevant configuration

Javascript errors shown in the web inspector (if applicable):

Screenshot 2021-03-29 at 16 51 51

julienlarivee commented 3 years ago

I got it too. Your white border seems to be scroll bars.

image

jszust commented 3 years ago

I'm having the same issue

GeorgeSG commented 3 years ago

Thanks for the bug report, folks! I just released version 1.2.1 which hopefully addresses the issue.

Scrollbars will still be necessary sometimes, due to how the card fits inside a grid. But at least when they are not needed, they shouldn't be visible now.

riopedre commented 3 years ago

After updating to 1.2.1, I have the same issue. I'm not using grid card. imagen

GeorgeSG commented 3 years ago

@riopedre please try hard reloading the page and/or clearing your browser's cache :)

riopedre commented 3 years ago

After uploading and before sending a message, I have reloaded the page with no changes. After that, I have cleared the browser cache and reloaded the page again with no changes. And I have restarted Home Assistant and I have repeated the browser cache cleaning and the reloading of the page with no changes. Then, while I was writing this answer, I have reloaded the page a last time before sending the message and it works! Sorry for the noise. And thank you very much for your work.

JDunnio commented 3 years ago

Thanks for squashing this bug. Had problems in MS Edge browser where it wasn't fixed.

After testing with a Inprivate tab and seeing that is was fixed, i cleared my cache (all not just last day) and it as fixed.

Thanks again! Loving it!

image