Skip to content

Commit 1536d33

Browse files
committed
feat: adds party mode
1 parent 38bca3b commit 1536d33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/web/components/game/GameMap.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,14 +183,14 @@ export default class GameMap extends Vue {
183183
className: 'distance-label',
184184
html: `<div style="
185185
white-space: nowrap;
186-
display: inline-block !important;background-color: ${color}; width: unset !important; !important; font-size: 13px; padding: 2px 2px !important; font-weight: bold; border-radius: 3px; color: black;">${player.username}: ${distance} km</div>`,
186+
display: inline-block !important;background-color: ${color}; width: unset !important; !important; font-size: 13px; padding: 2px 2px !important; font-weight: bold; border-radius: 3px; color: #ffffff;">${player.username}: ${distance} km</div>`,
187187
});
188188
}
189189
return divIcon({
190190
className: 'distance-label',
191191
html: `<div style="
192192
white-space: nowrap;
193-
display: inline-block !important;background-color: ${color}; width: unset !important; !important; font-size: 13px; padding: 2px 2px !important; font-weight: bold; border-radius: 3px; color: black;">${distance} km</div>`,
193+
display: inline-block !important;background-color: ${color}; width: unset !important; !important; font-size: 13px; padding: 2px 2px !important; font-weight: bold; border-radius: 3px; color: #ffffff;">${distance} km</div>`,
194194
});
195195
}
196196

0 commit comments

Comments
 (0)