Fixed style on hovered article card

This commit is contained in:
kvakazyambra 2024-05-17 23:45:53 +03:00
parent 49ff3ccbe3
commit 5bbd29ddd2

View File

@ -13,7 +13,8 @@
&:hover { &:hover {
.shoutCardCover { .shoutCardCover {
img { img,
.placeholderCoverImage {
transform: scale(1.1); transform: scale(1.1);
} }
} }
@ -122,9 +123,13 @@
height: 100%; height: 100%;
object-fit: cover; object-fit: cover;
position: absolute; position: absolute;
width: 100%;
}
img,
.placeholderCoverImage {
transform: scale(1); transform: scale(1);
transition: transform 0.3s; transition: transform 0.3s;
width: 100%;
} }
} }