Match the thumbnail radius to the card radius.

This commit is contained in:
Dermot Duffy
2022-03-20 21:30:30 -07:00
parent 6430663362
commit cd7c4a3980
+2 -2
View File
@@ -14,12 +14,12 @@
:host([details]) {
border: 1px solid var(--primary-color);
border-radius: 5px;
border-radius: var(--ha-card-border-radius, 4px);
padding: 2px;
}
img {
border-radius: 5px;
border-radius: var(--ha-card-border-radius, 4px);
// Not 'contain' as some thumbnails may vary in aspect-ratio slightly and
// should be clipped to fill the thumbnail div whilst maintaining