Fix z-indexu pro navigaci, pridani prostoru do verejne casti detialu letu
This commit is contained in:
@@ -121,7 +121,7 @@ const handleMarkerMove = async (idx, event) => {
|
||||
|
||||
<template v-if="displayTrackAids">
|
||||
<template v-for="marker in trackAids" :key="marker">
|
||||
<CustomMarker :options="marker">
|
||||
<CustomMarker :options="marker" class="track-info-marker">
|
||||
<div class="track-info" :style='`transform: rotate(${marker.bearing}deg)`'>
|
||||
{{ marker.bearing }}° <br>
|
||||
{{ getDuration(marker.distance, flightPlan.plannedSpeed) }}'
|
||||
@@ -136,7 +136,7 @@ const handleMarkerMove = async (idx, event) => {
|
||||
</MapWrapper>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
<style>
|
||||
.track-info {
|
||||
background: rgba(128, 128, 128, 0.5);
|
||||
color: white;
|
||||
@@ -147,4 +147,8 @@ const handleMarkerMove = async (idx, event) => {
|
||||
font-weight: bold;
|
||||
transform-origin: 50% 50%;
|
||||
}
|
||||
|
||||
.track-info-marker {
|
||||
z-index: 999;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user