Open Swiftnesses opened 5 years ago
Curious about that aswel! following!
I made a few small modifications around line 140 in the javacsript-file to add a little more spacing around the text, and also increase the size of the image slightly to account for the extra space between the lines.
@@ -141,22 +147,25 @@
}
.image {
float: right;
- margin-left: 8px;
- margin-right: 8px;
- margin-bottom: 8px;
- width: 115px;
- height: 115px;
+ margin-left: 15px;
+ margin-right: 15px;
+ margin-bottom: 15px;
+ width: 125px;
+ height: 125px;
border-radius: 6px;
}
.sensor {
- display: flex;
- cursor: pointer;
+ display: flex;
+ cursor: pointer;
+ padding-bottom: 10px;
}
.icon {
+ margin-left: 10px;
color: var(--paper-item-icon-color);
}
.name {
margin-top: 3px;
+ margin-left: 10px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
Also sent this as a PR
Hi,
Nice lovelace card! Can the spacing be made the same as other cards (currently it looks a little squashed up), perhaps as an option?