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> <span>
{{ $t('scenery.timetable-issued-for') }} {{ $t('scenery.timetable-issued-for') }}
<b> <router-link
<router-link class="journal-link"
:to="`/journal/timetables?search-driver=${timetableHistory.driverName}`" :to="`/journal/timetables?search-driver=${timetableHistory.driverName}`"
> >
{{ timetableHistory.driverName }} {{ timetableHistory.driverName }}
</router-link> </router-link>
</b>
</span> </span>
<span v-if="timetableHistory.authorName"> <span v-if="timetableHistory.authorName">
{{ $t('scenery.timetable-issued-by') }} {{ $t('scenery.timetable-issued-by') }}
<b> <router-link
<router-link class="journal-link"
:to="`/journal/timetables?search-dispatcher=${timetableHistory.authorName}`" :to="`/journal/timetables?search-dispatcher=${timetableHistory.authorName}`"
> >
{{ timetableHistory.authorName }} {{ timetableHistory.authorName }}
</router-link> </router-link>
</b>
</span> </span>
</div> </div>
</span> </span>
@@ -227,6 +225,15 @@ export default defineComponent({
} }
} }
.journal-link {
font-weight: bold;
color: #eee;
&:hover {
color: var(--clr-primary);
}
}
.journal-list { .journal-list {
display: flex; display: flex;
flex-direction: column; flex-direction: column;