Match the thumbnail radius to the card radius.
This commit is contained in:
@@ -14,12 +14,12 @@
|
|||||||
|
|
||||||
:host([details]) {
|
:host([details]) {
|
||||||
border: 1px solid var(--primary-color);
|
border: 1px solid var(--primary-color);
|
||||||
border-radius: 5px;
|
border-radius: var(--ha-card-border-radius, 4px);
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
border-radius: 5px;
|
border-radius: var(--ha-card-border-radius, 4px);
|
||||||
|
|
||||||
// Not 'contain' as some thumbnails may vary in aspect-ratio slightly and
|
// Not 'contain' as some thumbnails may vary in aspect-ratio slightly and
|
||||||
// should be clipped to fill the thumbnail div whilst maintaining
|
// should be clipped to fill the thumbnail div whilst maintaining
|
||||||
|
|||||||
Reference in New Issue
Block a user