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
@@ -18,8 +18,6 @@ img, ha-icon {
// should be clipped to fill the thumbnail div whilst maintaining
// aspect-ratio.
object-fit: cover;
transition: transform 0.2s linear;
}
ha-icon {
@@ -31,7 +29,3 @@ ha-icon {
border: 1px solid rgba(255,255,255,0.3);
box-sizing: border-box;
}
img:hover {
transform: scale(1.04);
}