mirror of
https://github.com/YouHaveTrouble/DiscipleOfLand.git
synced 2026-05-11 22:16:55 +00:00
fix zone name display
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
class="node"
|
||||
:class="{active: gatheringNode.isActive(eorzeaTime)}"
|
||||
>
|
||||
<div class="location-info">
|
||||
<div
|
||||
v-if="!gatheringNode.isActive(eorzeaTime)"
|
||||
>
|
||||
@@ -43,13 +44,14 @@
|
||||
>
|
||||
</span>
|
||||
<div class="info">
|
||||
<span>{{ zones[gatheringNode.nearestAetheryte.position.zone]?.name?.en }}</span>
|
||||
<span>{{ gatheringNode.nearestAetheryte.name.en }}</span>
|
||||
<span>{{
|
||||
<span class="zone-name">{{ zones[gatheringNode.location.zone]?.name?.en }}</span>
|
||||
<span class="aetheryte-name">{{ gatheringNode.nearestAetheryte.name.en }}</span>
|
||||
<span class="coords">{{
|
||||
gatheringNode.nearestAetheryte.position.x.toFixed(1)
|
||||
}}, {{ gatheringNode.nearestAetheryte.position.y.toFixed(1) }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="items">
|
||||
<span
|
||||
v-for="item in gatheringNode.items"
|
||||
@@ -139,6 +141,14 @@ export default defineComponent({
|
||||
border-radius: 0.25rem;
|
||||
content-visibility: auto;
|
||||
|
||||
.location-info {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
gap: 1rem;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
&.active {
|
||||
animation: infinite pulsing 6s;
|
||||
}
|
||||
@@ -172,7 +182,7 @@ export default defineComponent({
|
||||
.aetheryte {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
gap: 0.25rem;
|
||||
font-size: 1.5rem;
|
||||
@@ -196,6 +206,17 @@ export default defineComponent({
|
||||
justify-content: center;
|
||||
align-items: start;
|
||||
gap: 0.1rem;
|
||||
line-height: 1;
|
||||
|
||||
.zone-name {
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
.aetheryte-name {
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
.coords {
|
||||
padding-top: 0.15rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user