Browse Source

adapt styling of GeoData input cell (use windicss) - WIP

pull/4749/head
flisowna 2 years ago
parent
commit
db9a517d42
  1. 28
      packages/nc-gui/components/cell/GeoData.vue

28
packages/nc-gui/components/cell/GeoData.vue

@ -72,21 +72,21 @@ const onClickSetCurrentLocation = () => {
<a-button>{{ latLongStr }}</a-button> <a-button>{{ latLongStr }}</a-button>
<template #overlay> <template #overlay>
<a-form :model="formState" class="flex flex-col" @finish="handleFinish"> <a-form :model="formState" class="flex flex-col" @finish="handleFinish">
<a-form-item class="input-lat"> <a-form-item>
<template #label> <div class="mb-2 mt-4 bg-pink-50 flex">
<div>{{ $t('labels.lat') }}</div> <div>{{ $t('labels.lat') }}</div>
</template> <a-input
<a-input v-model:value="formState.latitude"
v-model:value="formState.latitude" type="number"
type="number" step="0.0000001"
step="0.0000001" :min="-90"
:min="-90" required
required :max="90"
:max="90" @keydown.stop
@keydown.stop @selectstart.capture.stop
@selectstart.capture.stop @mousedown.stop
@mousedown.stop />
/> </div>
</a-form-item> </a-form-item>
<a-form-item class="input-lng"> <a-form-item class="input-lng">

Loading…
Cancel
Save