File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -58,13 +58,13 @@ function formatDate(date: Date): string {
5858 relatedArticles .map ((article ) => (
5959 <a
6060 href = { article .data .path }
61- class = " group flex flex-col hover:- scale-[97%] transition-all"
61+ class = " group flex flex-col hover:scale-[1.02] hover:-translate-y-1 transition-all duration-300 ease-in-out "
6262 >
6363 <div class = " aspect-square mb-3 sm:mb-4 overflow-hidden rounded-lg" >
6464 <Image
6565 src = { article .data .hero_image }
6666 alt = { article .data .hero_image_alt || article .data .title }
67- class = " object-cover aspect-square group-hover:opacity-90 transition-opacity duration-300"
67+ class = " object-cover aspect-square group-hover:scale-105 transition-transform duration-300 ease-in-out "
6868 transition :name = { ` ${article .data .path }-image ` }
6969 />
7070 </div >
You can’t perform that action at this time.
0 commit comments