chore: improved scenery timetables history router link style

This commit is contained in:
2025-11-22 23:00:11 +01:00
parent a021deae96
commit 28d78cd2bc
@@ -46,24 +46,22 @@
<span>
{{ $t('scenery.timetable-issued-for') }}
<b>
<router-link
:to="`/journal/timetables?search-driver=${timetableHistory.driverName}`"
>
{{ timetableHistory.driverName }}
</router-link>
</b>
<router-link
class="journal-link"
:to="`/journal/timetables?search-driver=${timetableHistory.driverName}`"
>
{{ timetableHistory.driverName }}
</router-link>
</span>
<span v-if="timetableHistory.authorName">
{{ $t('scenery.timetable-issued-by') }}
<b>
<router-link
:to="`/journal/timetables?search-dispatcher=${timetableHistory.authorName}`"
>
{{ timetableHistory.authorName }}
</router-link>
</b>
<router-link
class="journal-link"
:to="`/journal/timetables?search-dispatcher=${timetableHistory.authorName}`"
>
{{ timetableHistory.authorName }}
</router-link>
</span>
</div>
</span>
@@ -227,6 +225,15 @@ export default defineComponent({
}
}
.journal-link {
font-weight: bold;
color: #eee;
&:hover {
color: var(--clr-primary);
}
}
.journal-list {
display: flex;
flex-direction: column;