remove student link decoration.
This commit is contained in:
parent
5610430232
commit
57fa2450f1
|
@ -224,7 +224,8 @@ function addAllEntriesForDate(dateStr: string) {
|
|||
<tbody>
|
||||
<tr v-for="student in students" :key="student.id">
|
||||
<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>
|
||||
</RouterLink>
|
||||
</td>
|
||||
|
@ -256,6 +257,11 @@ function addAllEntriesForDate(dateStr: string) {
|
|||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
.student-link {
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.student-removed {
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue