From 078f6a5a95b95f6840852379a838afce9b072447 Mon Sep 17 00:00:00 2001 From: lewa <lene.wasskog@nibio.no> Date: Thu, 25 Apr 2024 11:26:33 +0200 Subject: [PATCH] fix: Minor style update --- src/components/Observation.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Observation.vue b/src/components/Observation.vue index e069322..e636fa2 100644 --- a/src/components/Observation.vue +++ b/src/components/Observation.vue @@ -63,14 +63,14 @@ Plassering: <span v-html="currentLocationName()"></span> </div> </div> - <div v-else class="form-group mb-3 row"> + <div v-else class="row form-group mb-2"> <div class="col-8 d-flex align-items-center "> <router-link id="linkMap" class="vips-btn large" ref='linkMap' v-if="!isPartOfTimeSeries" :to="{name:'MapObservation', params: {observationId:observation.observationId,geoinfo:mapGeoinfo,isMapPanelVisible:newMapPanel,locationPointOfInterestId:mapLocationPointOfInterestId, observation:observation}}"> <font-awesome-icon class="form-icon" icon="map-location"/>{{ mapGeoinfo ? $t("observation.map.label.edit") : $t("observation.map.label.new") }} </router-link> </div> - <div class="col-4 d-flex align-items-center" v-html="currentLocationName()"></div> + <div class="col-4 d-flex align-items-center justify-content-end" v-html="currentLocationName()"></div> </div> <div v-if="mapGeoinfo" id="divMapGeoInfo"> @@ -82,7 +82,7 @@ <div class="form-floating mb-3"> <input id="strDateObservation" class="form-control" ref="strDateObservation" type="date" :max="maxObservationDate" :min="minObservationDate" v-model="strDateObservation" - v-on:change="capturedTime($event)" placeholder="Dato for observasjon" v-on:focus="(this.type='date')" v-on:blur="(this.type='text')"/> + v-on:change="capturedTime($event)" placeholder="Dato for observasjon"/> <label for="strDateObservation">Dato for observasjon</label> </div> -- GitLab