Aftership card: improve styles

This commit is contained in:
2020-03-22 10:19:52 +02:00
parent e62d960881
commit a766d696c7
+17 -2
View File
@@ -97,9 +97,24 @@ cards:
forecast: true
- type: "custom:aftership-card"
show_add: false
entity: sensor.aftership
title: Packages
entity: sensor.aftership
show_add: false
style: |
ha-card {
padding-top: 1em;
padding-bottom: 1em;
}
paper-item-body:first-child {
width: 32px;
}
paper-item-body {
width: 45%;
white-space: normal !important;
}
ha-icon {
padding: 0;
}
- type: "custom:travel-time-card"
title: Travel time