hotfix: styles

This commit is contained in:
2025-01-30 21:56:28 +01:00
parent 5f264e8b63
commit 2472814a03
2 changed files with 5 additions and 4 deletions
+3 -2
View File
@@ -43,9 +43,10 @@
</button> </button>
<button <button
class="bg-zinc-800 p-1 rounded-md hover:bg-zinc-700" class=" p-1 rounded-md "
:class="{ :class="{
'bg-green-600': isTimetableSaved, 'bg-green-600 hover:bg-green-700': isTimetableSaved,
'bg-zinc-800 hover:bg-zinc-700': !isTimetableSaved,
}" }"
@click="saveToStorage" @click="saveToStorage"
> >
@@ -9,7 +9,7 @@
<ul class="flex flex-col gap-3"> <ul class="flex flex-col gap-3">
<li v-for="timetable in globalStore.storageTimetables" class="text-left"> <li v-for="timetable in globalStore.storageTimetables" class="text-left">
<button class="bg-zinc-900 p-2 w-full text-zinc-300 cursor-pointer hover:bg-zinc-800" @click="selectTimetable(timetable)"> <button class="bg-zinc-900 p-2 w-full text-zinc-300 cursor-pointer hover:bg-zinc-800" @click="selectTimetable(timetable)">
<b>{{ timetable.category }} {{ timetable.trainNo }}</b> {{ timetable.route.replace('|', ' - ') }} <b>{{ timetable.driverName }} {{ timetable.category }} {{ timetable.trainNo }}</b> {{ timetable.route.replace('|', ' - ') }}
</button> </button>
</li> </li>
</ul> </ul>