We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e31ea9 commit e7367b5Copy full SHA for e7367b5
components/events/EventsCard.vue
@@ -34,7 +34,11 @@
34
<div class="mentor-row__text-container align-self-center pr-100">
35
<div>MENTOR</div>
36
<div class="font-5 bold mt-10">
37
- <span v-for="(mentor, index) in event.mentors" :key="index">
+ <span
38
+ v-for="(mentor, index) in event.mentors"
39
+ :key="index"
40
+ class="mentor-name"
41
+ >
42
{{ mentor.name.split(' ')[0] }}
43
</span>
44
</div>
@@ -110,4 +114,8 @@ export default {
110
114
border: 1px solid #f26a3e;
111
115
overflow: hidden;
112
116
}
117
+
118
+.mentor-name:not(:last-child)::after {
119
+ content: ', ';
120
+}
113
121
</style>
0 commit comments