Skip to content

Commit f7b115f

Browse files
committed
Fixed hover effect on schedule's speaker
1 parent 5d6e87f commit f7b115f

2 files changed

Lines changed: 4 additions & 28 deletions

File tree

.idea/workspace.xml

Lines changed: 1 addition & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/elements/ScheduleSpeakerInfo.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@ const ScheduleSpeakerInfo = ({ speaker, locale = 'en' }) => {
1111
return (
1212
<Link
1313
href={`/${locale}/speakers/${slug}`}
14-
className="flex items-center gap-3 mt-1 rounded-md p-2 -ml-2 transition-all duration-200 group "
14+
className="flex items-center gap-3 mt-1 rounded-md p-2 -ml-2 transition-all duration-200 group/a "
1515
title={`${name} - ${title}`}
1616
>
1717
<Image
18-
className="h-11 w-11 rounded shadow object-cover group-hover:shadow-md group-hover:scale-[105%] transition-all duration-200 ease-in"
18+
className="h-11 w-11 rounded shadow object-cover group-hover/a:shadow-md group-hover/a:scale-[105%] transition-all duration-200 ease-in"
1919
src={image}
2020
alt={name}
2121
width={44}
2222
height={44}
2323
/>
2424
<div>
25-
<p className="text-base font-semibold tracking-normal text-gray-800 group-hover:text-blue-800 transition-colors duration-200">
25+
<p className="text-base font-semibold tracking-normal text-gray-800 group-hover/a:text-blue-800 transition-colors duration-200">
2626
{name}
2727
</p>
2828
<p className="text-xs text-gray-500">{title}</p>

0 commit comments

Comments
 (0)