You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.
Release with the issue:
0.0.3 Last working release (if known):
Never Browser and Operating System:
Edge Chromium 87.0.664.60 & Win 10 20H2 (19042.685)
Description of problem:
There's much more (wasted) space around the grid and a little bit more between the cards than in "default lovelace", which is especially suboptimal on smaller displays.
Custom Grid:
Default Lovelace:
The "problem" here is this snippet: <div class="grid-item-wrapper finished" style="transform: translate(20px, 20px); width: 399px; height: 240px">
To match the grid margin of Lovelace it should translate 8px to the right and down. Of course this is only the first card - for the other cards the calculation would need to be changed.
Javascript errors shown in the web inspector (if applicable):
Additional information:
Thank you very much for this amazing new feature for Lovelace! I know this is in a very early stage so I'm sorry if this issue is regarding something you've already have planned to change or did intentionally.
The text was updated successfully, but these errors were encountered:
Yes, of course: My initial oberservation (as an example for the first card translate(20px, 20px) for grid-item-wrapper instead of translate(8px, 8px)) is fixed with the latest release. So the cards themselfes now have the same spacing as in default Lovelace views.
It's just the grid container that shifts everything down and to the right because of the 4px padding:
Checklist:
Release with the issue:
0.0.3
Last working release (if known):
Never
Browser and Operating System:
Edge Chromium 87.0.664.60 & Win 10 20H2 (19042.685)
Description of problem:
There's much more (wasted) space around the grid and a little bit more between the cards than in "default lovelace", which is especially suboptimal on smaller displays.
Custom Grid:
Default Lovelace:
The "problem" here is this snippet:
<div class="grid-item-wrapper finished" style="transform: translate(20px, 20px); width: 399px; height: 240px">
To match the grid margin of Lovelace it should translate 8px to the right and down. Of course this is only the first card - for the other cards the calculation would need to be changed.
Javascript errors shown in the web inspector (if applicable):
Additional information:
Thank you very much for this amazing new feature for Lovelace! I know this is in a very early stage so I'm sorry if this issue is regarding something you've already have planned to change or did intentionally.
The text was updated successfully, but these errors were encountered: