Skip to content

Commit 3645fb4

Browse files
committed
Add image borders.
1 parent 68fabc7 commit 3645fb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/speakers.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,15 @@ const description = "Our conference speakers organized alphabetically";
7878
href={`/speaker/${speaker.id}`}
7979
class="flex flex-col items-center group"
8080
>
81-
<div class="w-full aspect-square rounded-full overflow-hidden mb-3 ">
81+
<div class="w-full aspect-square rounded-full overflow-hidden mb-3 border-2 border-transparent group-hover:border-primary transition-all">
8282
{speaker.data.avatar ? (
8383

8484
<Image
8585
src={speaker.data.avatar}
8686
alt={`${speaker.data.name}'s profile picture`}
8787
height={250}
8888
width={250}
89-
class="w-full h-full object-cover"
89+
class="w-full h-full object-cover "
9090
/>
9191
) : (
9292
<div class="w-full h-full bg-[#f7efe6] flex items-center justify-center text-gray-500 text-xl">

0 commit comments

Comments
 (0)