fix: certification list border style

This commit is contained in:
Jannat Patel
2025-12-23 12:44:36 +05:30
parent 3fa2320fe3
commit 3318a1c599

View File

@@ -38,8 +38,8 @@
</div>
</div>
</div>
<div v-if="participants.data?.length" class="divide-y">
<template v-for="participant in participants.data">
<div v-if="participants.data?.length" class="">
<template v-for="(participant, index) in participants.data">
<router-link
:to="{
name: 'ProfileCertificates',
@@ -47,9 +47,14 @@
username: participant.username,
},
}"
class="flex sm:rounded px-3 py-2 sm:h-15 hover:bg-surface-gray-2"
class="flex h-15 rounded-md hover:bg-surface-gray-2 px-3"
>
<div class="flex items-center w-full space-x-3">
<div
class="flex items-center w-full space-x-3 py-2"
:class="{
'border-b': index < participants.data.length - 1,
}"
>
<UserAvatar :user="participant" size="2xl" />
<div class="flex flex-col md:flex-row w-full">