Skip to content

Commit

Permalink
fix: spaces for measures and fixed digits
Browse files Browse the repository at this point in the history
  • Loading branch information
AlitaBernachot committed Nov 22, 2024
1 parent 2bed1de commit 951506e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/components/draw/feature-measurements.vue
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,13 @@ function onClickValidateRadius(radius: number) {
<div class="lux-drawing-item-measurements">
<!-- Feature length, for LineString, Circle, Polygon -->
<div data-cy="featItemLength" v-if="featLength">
<span class="mr-1">{{ t('Length:') }}</span>
<span>{{ t('Length:') }}</span>
<span v-format-measure.length="featLength"></span>
</div>

<!-- Feature area, for Circle, Polygon -->
<div data-cy="featItemArea" v-if="featArea">
<span class="mr-1">{{ t('Area:') }}</span>
<span>{{ t('Area:') }} </span>
<span v-format-measure.area="featArea"></span>
</div>

Expand All @@ -115,7 +115,7 @@ function onClickValidateRadius(radius: number) {
v-if="featureType === 'drawnCircle'"
class="flex items-center"
>
<span class="mr-1">{{ t('Rayon:') }} </span>
<span>{{ t('Rayon:') }}</span>
<span
v-if="!isEditingFeature"
v-format-measure.length="featRadius"
Expand All @@ -140,10 +140,10 @@ function onClickValidateRadius(radius: number) {

<!-- Feature elevation, for Point -->
<div v-if="featureType === 'drawnPoint'">
<span>{{ t('Elevation') }}: </span>
<span>{{ t('Elevation') }}:</span>
<span
data-cy="featItemElevation"
v-format-measure.elevation="featElevation"
v-format-measure:2.elevation="featElevation"
></span>
</div>

Expand Down

0 comments on commit 951506e

Please sign in to comment.