Change effect to scale whole thumbnail
This commit is contained in:
@@ -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%;
|
||||
|
||||
Reference in New Issue
Block a user