Merge branch 'main' of https://github.com/VAR-Virtual-Air-Rescue/var-monorepo
This commit is contained in:
@@ -287,7 +287,7 @@ const AircraftMarker = ({ aircraft }: { aircraft: Aircraft }) => {
|
|||||||
return `<div
|
return `<div
|
||||||
id="marker-${aircraft.id}"
|
id="marker-${aircraft.id}"
|
||||||
class="${cn(
|
class="${cn(
|
||||||
"relative w-[140px] transform flex items-center gap-2 px-2 z-100",
|
"relative w-auto transform inline-flex items-center gap-2 px-2 z-100",
|
||||||
anchor.includes("right") && "-translate-x-full",
|
anchor.includes("right") && "-translate-x-full",
|
||||||
anchor.includes("bottom") && "-translate-y-full",
|
anchor.includes("bottom") && "-translate-y-full",
|
||||||
)}"
|
)}"
|
||||||
@@ -313,7 +313,7 @@ const AircraftMarker = ({ aircraft }: { aircraft: Aircraft }) => {
|
|||||||
>
|
>
|
||||||
${aircraft.fmsStatus}
|
${aircraft.fmsStatus}
|
||||||
</span>
|
</span>
|
||||||
<span class="text-white text-[15px]">
|
<span class="text-white text-[15px] text-nowrap">
|
||||||
${aircraft.bosName}
|
${aircraft.bosName}
|
||||||
</span>
|
</span>
|
||||||
<div
|
<div
|
||||||
|
|||||||
@@ -175,7 +175,7 @@ const MissionMarker = ({ mission }: { mission: Mission }) => {
|
|||||||
return `<div
|
return `<div
|
||||||
id="marker-${mission.id}"
|
id="marker-${mission.id}"
|
||||||
class="${cn(
|
class="${cn(
|
||||||
"relative w-[100px] transform flex items-center gap-2 px-2 z-100",
|
"relative w-auto transform inline-flex items-center gap-2 px-2 z-100",
|
||||||
anchor.includes("right") && "-translate-x-full",
|
anchor.includes("right") && "-translate-x-full",
|
||||||
anchor.includes("bottom") && "-translate-y-full",
|
anchor.includes("bottom") && "-translate-y-full",
|
||||||
)}"
|
)}"
|
||||||
@@ -195,7 +195,7 @@ const MissionMarker = ({ mission }: { mission: Mission }) => {
|
|||||||
${anchor.includes("top") ? `border-top: 3px solid ${MISSION_STATUS_TEXT_COLORS[mission.state]};` : `border-bottom: 3px solid ${MISSION_STATUS_TEXT_COLORS[mission.state]};`}
|
${anchor.includes("top") ? `border-top: 3px solid ${MISSION_STATUS_TEXT_COLORS[mission.state]};` : `border-bottom: 3px solid ${MISSION_STATUS_TEXT_COLORS[mission.state]};`}
|
||||||
"
|
"
|
||||||
></div>
|
></div>
|
||||||
<span class="text-white text-[15px]">
|
<span class="text-white text-[15px] text-nowrap">
|
||||||
${mission.missionSummary}
|
${mission.missionSummary}
|
||||||
</span>
|
</span>
|
||||||
<div
|
<div
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user