remove student link decoration.

This commit is contained in:
Andrew Lalis 2025-01-07 09:45:11 -05:00
parent 5610430232
commit 57fa2450f1
1 changed files with 7 additions and 1 deletions

View File

@ -224,7 +224,8 @@ function addAllEntriesForDate(dateStr: string) {
<tbody> <tbody>
<tr v-for="student in students" :key="student.id"> <tr v-for="student in students" :key="student.id">
<td :class="{ 'student-removed': student.removed }"> <td :class="{ 'student-removed': student.removed }">
<RouterLink :to="'/classroom-compliance/classes/' + classId + '/students/' + student.id"> <RouterLink :to="'/classroom-compliance/classes/' + classId + '/students/' + student.id"
class="student-link">
<span v-text="student.name"></span> <span v-text="student.name"></span>
</RouterLink> </RouterLink>
</td> </td>
@ -256,6 +257,11 @@ function addAllEntriesForDate(dateStr: string) {
border-collapse: collapse; border-collapse: collapse;
} }
.student-link {
text-decoration: none;
color: inherit;
}
.student-removed { .student-removed {
text-decoration: line-through; text-decoration: line-through;
} }