Move basemap input higher in sidebar options. Keep map interactive under v-info (#7563)

* Move basemap input higher in sidebar options. Keep map interactive under v-info.

* Apply suggestions from code review

Co-authored-by: Nicola Krumschmidt <nicola.krumschmidt@freenet.de>

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: Nicola Krumschmidt <nicola.krumschmidt@freenet.de>
This commit is contained in:
Oreille
2021-08-24 21:29:02 +02:00
committed by GitHub
parent a337a4d174
commit c208c74fcf
2 changed files with 10 additions and 5 deletions

View File

@@ -256,6 +256,11 @@ export default defineComponent({
background-color: var(--background-page);
border-radius: var(--border-radius);
box-shadow: var(--card-shadow);
pointer-events: none;
}
.v-info > :deep(.v-button) {
pointer-events: initial;
}
.footer {

View File

@@ -1,4 +1,9 @@
<template>
<div class="field">
<div class="type-label">{{ t('layouts.map.basemap') }}</div>
<v-select v-model="basemap" :items="basemaps.map((s) => ({ text: s.name, value: s.name }))" />
</div>
<template v-if="geometryFields.length == 0">
<div class="field">
<v-input type="text" disabled :prefix="'No compatible fields'"></v-input>
@@ -14,11 +19,6 @@
</div>
</template>
<div class="field">
<div class="type-label">{{ t('layouts.map.basemap') }}</div>
<v-select v-model="basemap" :items="basemaps.map((s) => ({ text: s.name, value: s.name }))" />
</div>
<div class="field">
<v-checkbox
v-model="autoLocationFilter"