remove student link decoration.
This commit is contained in:
parent
5610430232
commit
57fa2450f1
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue