|
|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div class="timeline">
|
|
|
- <div v-for="timeline in timelineStore.timelines" :class="`container ${timeline.posittion}`">
|
|
|
+ <div v-for="timeline in timelineStore.timelines" :class="`container ${timeline.posittion}`" :key="timeline.id">
|
|
|
<div class="content">
|
|
|
<p :class="`text-${timeline.posittion}`">{{moment(timeline.date).format("DD.MMM.YYYY HH:mm")}}</p>
|
|
|
<h2>{{timeline.label}}</h2>
|
|
|
@@ -153,14 +153,14 @@ body {
|
|
|
@media screen and (max-width: 1200px) {
|
|
|
/* Place the timelime to the left */
|
|
|
.timeline::after {
|
|
|
- left: 45px;
|
|
|
+ left: 48px;
|
|
|
}
|
|
|
|
|
|
/* Full-width containers */
|
|
|
.container {
|
|
|
width: 100%;
|
|
|
padding-left: 88px;
|
|
|
- padding-right: 25px;
|
|
|
+ padding-right: 0px;
|
|
|
}
|
|
|
|
|
|
/* Make sure that all arrows are pointing leftwards */
|
|
|
@@ -177,7 +177,7 @@ body {
|
|
|
}
|
|
|
|
|
|
.left, .right{
|
|
|
- top: 45px;
|
|
|
+ top: 10px;
|
|
|
left: 15px;
|
|
|
}
|
|
|
.text-left{
|