hotfixy designu

This commit is contained in:
2024-03-30 00:18:54 +01:00
parent b44f88ebcd
commit c8f53c2f06
6 changed files with 8 additions and 6 deletions
@@ -5,7 +5,7 @@
v-for="{ timetable, showExtraInfo } in computedTimetableHistory"
class="journal_item"
:key="timetable.id"
@click.stop.prevent="showExtraInfo.value = !showExtraInfo.value"
@click="showExtraInfo.value = !showExtraInfo.value"
>
<div class="journal_item-info">
<!-- General -->
+4 -1
View File
@@ -31,7 +31,10 @@ export default defineComponent({
let translateX = '0px',
translateY = '30px';
if (val.x <= boxWidth / 2) {
if (clientWidth < 500) {
previewEl.style.left = '50%';
translateX = '-50%';
} else if (val.x <= boxWidth / 2) {
previewEl.style.left = '0';
translateX = '0px';
} else if (val.x >= clientWidth - boxWidth / 2) {
@@ -10,7 +10,6 @@
v-if="popupStore.currentPopupContent"
@load="onImageLoad"
@error="onImageError"
@click="popupStore.onPopUpHide"
width="300"
height="176"
class="rounded-md w-full h-auto"
+1 -1
View File
@@ -126,7 +126,7 @@
{{ $t('trains.cars') }}: {{ train.stockList.length - 1 }}
</span>
|
<span>{{ train.speed }}km/h</span>
<span class="text--primary">{{ train.speed }} km/h</span>
</div>
<div class="driver_position text--grayed" style="margin-top: 0.25em">