Skip to content

Commit

Permalink
fixes #1274 (#1279)
Browse files Browse the repository at this point in the history
  • Loading branch information
aymericdelab authored Aug 15, 2024
1 parent d2badd9 commit 3034073
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions client/src/ui/components/worldmap/armies/ActionInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,21 +49,23 @@ export const ActionInfo = () => {
isExplored={isExplored}
travelLength={travelPath!.path.length - 1}
/>
<div className="flex flex-row text-xs">
<div
style={{
backgroundImage: `url(${BuildingThumbs.resources})`,
backgroundSize: "calc(100% - 10px)",
backgroundPosition: "center",
}}
className="w-8 h-8 bg-no-repeat"
></div>
{!isExplored && (
<div className="flex flex-row text-xs">
<div
style={{
backgroundImage: `url(${BuildingThumbs.resources})`,
backgroundSize: "calc(100% - 10px)",
backgroundPosition: "center",
}}
className="w-8 h-8 bg-no-repeat"
></div>

<div className="flex flex-col p-1 text-xs">
<div>+{EternumGlobalConfig.exploration.reward}</div>
<div>Reward</div>
<div className="flex flex-col p-1 text-xs">
<div>+{EternumGlobalConfig.exploration.reward}</div>
<div>Reward</div>
</div>
</div>
</div>
)}
</BaseThreeTooltip>
)}
</>
Expand Down

0 comments on commit 3034073

Please sign in to comment.