Leg {{ index + 1 }}
+Leg {{ index + 1 }}
+ +{{ leg.description }}
-Add rules for participants to follow during the game
- - +Total route distance: {{ getTotalDistance().toFixed(2) }} km
{{ leg.description }}
-No legs added yet
@@ -265,4 +267,15 @@ onUnmounted(() => { border-radius: var(--pico-border-radius); margin-bottom: 0.5rem; } + +.leg-header { + display: flex; + justify-content: space-between; + align-items: center; + margin-bottom: 0.5rem; +} + +.leg-header h3 { + margin: 0; +} diff --git a/frontend/src/pages/GamePage.vue b/frontend/src/pages/GamePage.vue index 8e4d5a3..c3a7134 100644 --- a/frontend/src/pages/GamePage.vue +++ b/frontend/src/pages/GamePage.vue @@ -145,15 +145,16 @@ onMounted(() => {