Change effect to scale whole thumbnail

This commit is contained in:
Dermot Duffy
2022-06-26 14:11:26 -07:00
parent 9630185b5f
commit 5841b80cac
4 changed files with 7 additions and 13 deletions
+6
View File
@@ -6,6 +6,8 @@
// Ensure control icons are relative to the thumbnail.
position: relative;
overflow: hidden;
transition: transform 0.2s linear;
}
:host(:not([details])) {
@@ -22,6 +24,10 @@
background-color: var(--primary-background-color, black);
}
:host(:hover) {
transform: scale(1.04);
}
ha-icon {
position: absolute;
border-radius: 50%;